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.
+4
A:
Snippet instructions:
http://msdn.microsoft.com/en-us/library/ms165394%28VS.80%29.aspx
Snippet example (snippet.snippet):
C:\Program Files\Microsoft Visual Studio 9.0\Xml\1033\Snippets\snippet.snippet
Jim Schubert
2009-12-22 18:35:39
The question is not how to create a snippet, but if you know where a snippet to create a snippet is located.
Daniel
2009-12-22 19:21:08
C:\Program Files\Microsoft Visual Studio 9.0\Xml\1033\Snippets\snippet.snippet is a snippet for creating snippets.
Jim Schubert
2009-12-22 20:29:38
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!
Daniel
2009-12-22 21:43:33
did it, thanks.
Jim Schubert
2009-12-22 21:59:45
Thanks Jim, you are now marked the correct answer :)
Daniel
2010-01-06 18:05:09
+1
A:
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...
Alex
2009-12-22 20:15:24