One code snippet at a time [and more] with the Code Snippet Studio

Description

Code snippets are some of the repetitive task greatest Visual Studio time savers you'll ever see. If you have boilerplate code and snips that you use over and over, turning them into a snippet will save your hair and sanity. Sharing them will help everyone on your team and beyond...

Now if only they were easy to create and share?

Alessandro Del Sole thought the same thing and being the dev he is, solved this problem, shared it with us and best of all released the source too!

[Note: Make sure you catch the fact that this makes snippets for Visual Studio AND Visual Studio Code] :)

With Code Snippet Studio, you have a fully-functional code editor with syntax highlighting and basic IntelliSense where you can write or paste your snippets and supply the information that is required by the respective schema references. Studio will generate the proper .snippet or .json files for you, depending on the target IDE (Visual Studio or Code). You will then be able to package a number of code snippets into a Visual Studio extension by building .vsix packages that you can share with other developers and that you can even publish to the Visual Studio Gallery! Additional tools are available to work with both .vsix and .vsi installers.

The Discussion

Creating snippets in VS2013 (and other versions, no doubt) is as easy as highlighting the code and dragging it to the Toolbox. Then the reverse to use it later (drag from the toolbox to the code file).