Visual Studio code snippet is a code template that could be inserted anywhere into your code by entering a shortcut or pressing a hot-key: Ctrl K, Ctrl X. For example while editing some code with Visual Studio 2005 in C# or VB type "Property" and then press Tab. And you will get the full code for a class property. With this wonderful tool monotonous tasks could be dramatically improved. If you will take a look at the code snippet source code you will find a huge unreadable xml file. Assume you want to create your own snippet or to improve the existing one. That's where Advanced Code Snippet Manager comes in. Advanced Code Snippets Manager is a Microsoft Visual Studio 2005 add-on that allows you to create / edit / preview code snippets in a matter of several clicks. For example, to add a code snippet to the repository, simply select any code in code editor and then choose "Tools > Add Code Snippet" or right click and choose "Add Code Snippet". Fill out the form that will set snippet properties including shortcut, author etc and choose the destination for saving the template file. To provide Visual Studio with access to the new code snippet, restart the application.
Comments