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:


Scott Hanselman’s Tools List

Scott Hanselman’s provides two articles on his site that are a “must have” for all developers:

Scott Hanselman’s 2007 Ultimate Developer and Power Users Tool List for Windows

Scott’s List of Ultimate Visual Studio.NET AddIns

Highly recommended!

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

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!

101 LINQ Samples

.NET Language-Integrated Query (LINQ) adds query capabilities to the CLR and the languages that target it. The query facility builds on lambda expressions and expression trees to allow predicates, projections, and key extraction expressions to be used as opaque executable code or as transparent in-memory data suitable for downstream processing or translation. The standard query operators defined by the LINQ project work over any IEnumerable<T>-based information source, and are integrated with ADO.NET (LINQ to SQL) and System.Xml (LINQ to XML) to allow relational and XML data to gain the benefits of language-integrated query.

[ from LINQ: .NET Language-Integrated Query ]

MSDN provides a page where you can find LINQ samples:

Visual Studio 2008 Training Kit

With the introduction of VS2008, some new technologies where presented to programmers like LINQ, WCF, WF, WPF, VSTO, new versions of ASP.NET, C#, VB, etc. There’s a new lot of things that us, programmers, need to learn so we can stay updated.

To help us with this “learning”, Microsoft created a “Visual Studio 2008 Training Kit“. This kit includes presentations, hands-on labs and demos about VS2008 and .NET Framework 3.5.

You can download the kit here.

UPDATE:  I have found video sessions related to the training kit here.