Snipp Dogg http://www.coderedneck.com
Creating a new snippet

Glossary Item Box

IntelliSense Code Snippets are XML files with a .snippet file name extension that adhere to the IntelliSense Code Snippet XML schema.  However, using Snipp Dogg you can ignore all the complicated XML and focus on the Code of the snippet. 

 

There are a few requirements to creating a snippet, these are:

Format - Specifies the schema version of the code snippet. i.e 1.0.0

Kind - Specifies the kind of code that the snippet contains and, therefore, the location at which a code snippet must be inserted for the code snippet to compile.

Language - Specifies the language of the code snippet. i.e. VB, CSharp, XML, or VJSharp

Shortcut - Specifies the shortcut text used to insert the snippet.

Title - The friendly name of the code snippet.

Type - Specifies how Visual Studio 2005/2008 inserts the code snippet into the code.

 

New Snippet

 

In the Code Editor you can cut and paste existing code or create a new code from scratch.  At any time, by typing $ the auto complete dialog with any Replacements you have defined will be displayed to help you write your snippet.

 

Autocomplete