Anyone have a snippet (or know where one exists) to create snippets? I saw one in a video demo for Visual Studio snippets a few weeks ago, but I can't remember where it was.
2 Answers
Snippet instructions:
http://msdn.microsoft.com/en-us/library/ms165394(VS.80).aspx
Snippet example (snippet.snippet):
C:\Program Files\Microsoft Visual Studio 9.0\Xml\1033\Snippets\snippet.snippet
3 Comments
Daniel
The question is not how to create a snippet, but if you know where a snippet to create a snippet is located.
Jim Schubert
C:\Program Files\Microsoft Visual Studio 9.0\Xml\1033\Snippets\snippet.snippet is a snippet for creating snippets.
Daniel
Hey Jim, if you put this comment in the answer itself, I'll vote you up and set it as the correct answer. Thanks man!
There are VS.NET addins that allow creating snippets from a piece of code you selected in the editor, with a nice designer and stuff. Google for it...