Matthew Manela, an engineer on our Online Tools team, has created and released a free, community-based tool called the Snippet Designer. His tool is a Visual Studio add-in that allows you to create and edit snippets from inside the IDE.
Snippets are a feature in Visual Studio that allow you to quickly insert “snippets” of code in your program. A year or two ago I wrote a post on snippets which you can find here.
Included in the Snippet Designer are:
- A tool for quickly creating snippets for C#, VB and XML development, including the ability to create snippet literals and a host of other features.
- A Snippet Explorer that allows you to search by keyword and view the active code in a snippet.
- The ability to select code in the editor, and convert it into a snippet
It took me only a few minutes to get up to speed using the Snippet Designer. The program installed quickly and easily, even on a 64 Bit copy of Windows Server 2008. The interface for the designer is easy to understand, and Matt provides an easy to follow set of instructions on the CodePlex site where he released the project and its source code.