Welcome to MSDN Blogs Sign in | Join | Help

aWorkBlogByGus

Gus Perez on C#, .NET Development and Software Testing
Snippy - C# Code Snippet Editor

Update (1/31/08): It looks like Snippy has now found a home on CodePlex. I haven't been maintaining it for a few years now, so I'm not sure what it has become but feel free to check it out and ask the folks who seem to be working on it now for any more details.

Update (10/4/05): This page is a bit out of date now but Snippy's new home can be found here. It's now been improved in several ways and is currently available for Whidbey Beta 2 as well as the latest RTM RC. It's now maintained by folks on the VSCore team.

--- Original post ---

Snippy is a tool I developed to ease the life of those creating C# code snippets (aka code expansions) for Visual Studio.  If you haven't heard about code snippets yet, they're a new feature we'll have in the Whidbey release.  You can read more about them in these two entries by Shaykat and Anson.

This is still in a completely untested state except for some very basic testing I've done while developing.  So please don't expect this to be perfect (is software ever perfect?) but it should be in a pretty good state. 

The files Snippy generates should work fine with recent drops of Visual Studio.  So if you have access to recent builds, you should be able to use this tool.  It should also work with the upcoming community drop folks have been talking about. 

Here's a screenshot:

Download from GotDotNet.

Posted: Sunday, March 21, 2004 9:37 PM by GusPerez

Comments

aBlogByGus said:

# March 22, 2004 12:42 AM

maysam said:

Thanks, And would you please provide source code or .Net1.0 version?
# March 30, 2004 10:13 PM

Gus Perez said:

Maysam, I'll provide the source soon. There were a couple of things I wanted to clean up first...
# March 30, 2004 11:10 PM

Powertoys WebLog said:

# April 20, 2004 5:44 PM

VSEditor's WebLog said:

# July 8, 2004 11:02 PM

VSEditor's WebLog said:

# July 8, 2004 11:10 PM

Peli's Blog said:

# August 9, 2004 5:45 AM

TrackBack said:

Julian Jewel's - Julian_Jewel.Weblog() : Create C# Code Snippets with Snippy
# November 3, 2004 7:25 PM

aBlogByGus said:

Here's the current list of available applications I've written that you are free to download and use. They're currently linked over to entries on my work blog, but I'll end up hosting everything here in the near future. RightSideUp: Application...
# January 8, 2005 1:07 PM

LZCD said:

# April 14, 2005 6:23 PM

Erno de Weerd said:

# April 29, 2005 3:12 PM

Marc said:

Do you know codexchange? http://www.codexchange.net/
# May 10, 2005 5:47 PM

Method ~ of ~ failed said:

# June 7, 2005 7:58 AM

MItch said:

Snippy doesn't work with the VS2005 Beta2 code snippets. When loading a code snippet (e.g. class.snippet from the VS2005 install) the application will bomb with an unhandled exception for "Index out of range".

Snippy also should be updated to default to both ".xml" & ".snippet" in the file filter dialog.
# June 22, 2005 10:32 AM

GusPerez said:

Thanks Mitch. I actually haven't spent time on Snippy in a pretty long while. I'll try to make some time to update it to work with beta 2 soon. Thanks for the report.
# June 22, 2005 10:40 AM

Shane Oborn said:

gus...you plan on releasing the source soon? i'm sure there are people willing to help tweak it for beta 2 if you just open the source up to the community....you have a very nicely designed tool so far....thanks for your work.
# August 13, 2005 4:05 PM

yubo6 said:

I just downloaded the application and tested it out a little bit. It worked perfectly for me and I am using VS beta 2.

Good job.
# August 23, 2005 8:18 PM

Joe Martinson said:

Try opening the prop snippet in C#. I also get the index out of range even with Beta 2. Please post the source so I can repair.
# September 19, 2005 10:55 AM

rnunes said:

Congratulations! Excelent tool!
# September 29, 2006 9:22 AM
New Comments to this post are disabled
Page view tracker