Creating Code Snippets in C# – Customize Visual Studio for Efficiency



Code snippets in Visual Studio can make you much more efficient. In this video, we are going to look at how easy it is to create our own code snippets to make our development even faster. We will learn how to optimize our environment to become faster and more consistent in our coding. We will create snippets for C# and for HTML and we will see how easy it is to create snippets for other languages such as XAML, CSS, and more.

Source Code: https://leadmagnets.app/?Resource=snippets
Patreon: https://www.patreon.com/IAmTimCorey
Mailing List: https://signup.iamtimcorey.com/
All Access Pass: https://www.iamtimcorey.com/p/all-access-pass
Courses: https://iamtimcorey.com/

0:00 – Intro
1:41 – Creating demo application
3:00 – Code snippets: few built in snippets, ease of use
6:00 – Creating a code snippet in VSCode
14:18 – Import code snippet in Visual Studio
17:31 – Creating a code snippet: quick recap
22:40 – HTML snippet
28:30 – Advanced snippets
30:38 – Creating advanced snippet
34:35 – Creating advanced snippet: Declarations – variables in the code snippet
43:46 – Conclusions and concluding remarks

Comments are closed.