Are you a presenter at user groups or code camp? Are you writing code during your presentation – you should be? As developers we practice writing the code, making sure that code we write is correct and once we have it right we’ll copy it and put it in a separate file that we’ll open and pull from so we get the code just right.
There was a project we could use that would allow us to create our own snippy. This tool made our lives a lot easier, well guess what, there is now an extension that you can add in Visual Studio 2008 or 2010. The tool is called Snippet Designer and extremely simply. Highlight the code in the .cs or .vb file, right click and select the “Export as Snippet”, add parameters if needed, change the name, then click the save button.

Leave a Reply

Your email address will not be published. Required fields are marked *