Snippet Designer

The Snippet Designer is a plugin which enhances the Visual Studio IDE to allow a richer and more productive code snippet experience. It features:

  • A Snippet editor integreated inside of the IDE.
    • Access it by opening any .snippet file or going to File -> New -> File -> Code Snippet File
    • It uses the native Visual Studio code editor so that you can write the snippets in the same enviorment you write your code.
    • It lets you easily mark replacements by a convenient righ click menu.
    • It displays properties of the snippet inside the Visual Studio properties window.

  • A Snippet Explorer tool window to search snippets on your computer.
    • It is located under View -> Other Windows -> Snippet Explorer
    • This tool window contains a code preview window which lets to peek inside the snippet to see what it is without opening the file.
    • Maintains an index of snippets on your computer for quick searching.
    • Provides a quick way to find a code snippet to use, edit or delete.

  • A right Click “Export as Snippet” menu option added to C#, VB and XML code editor to send highlighted code directly to the Snippet Editor

Snippet Designer at CodePlex: http://www.codeplex.com/SnippetDesigner

Advertisements

Snippy – C# Code Snippet Editor

Code Snippet’s in VS2005 and 2008 are a wonderfull tool that can decrease the time you dispend with coding. IntelliSense Code Snippets are reusable, task-oriented blocks of code. It includes code snippets covering tasks ranging from creating a custom exception, to sending an e-mail message, to drawing a circle. A set of Visual Basic and Visual C# Code Snippets are included with VS2005 and 2008 and there are additional Code Snippets that you can download and importo to VS.

Writting your own Snippet’s can be a hard work, especially if you using C#. There is a tool available at CodePlex called Snippy that is a Visual Studio Code Snippet Editor. It was designed to work with VS2005 but i tested in VS2008 and it’s working. With this tool, creating a Snippet it’s very simple. If you write your own Code Snippet or want to write this is the right tool for you. I recommended!

You can download Snippy from  http://www.codeplex.com/snippy/Release/ProjectReleases.aspx?ReleaseId=9316.

To use Snippy you have to compile it in VS because there’s only the source code available to download.

Download it, compile it, give it a try… you won’t regret it!