Visual Studio Toolbox: Creating and Using Code Snippets
In this episode, we explore code snippets, an underappreciated feature of Visual Studio.
Code snippets are existing pieces of code. All you have to do is type the snippets shortcut and Visual Studio writes the code for you. Watch as we first use a couple of snippets that ship with Visual Studio. Then, see how to use the Snippet Designer extension and create your own snippets. With this extension, you can highlight code, right-click, and Export as Snippet. Very cool!!