Snippet Editor 2008 release

I’ve updated the Snippet editor to work with Visual Studio 2008 and 2005 releases.


 Note this release requires .NET 3.5.


 


Changes/fixes:


  • Added 2008 product range to the list of products
  • Fixed replacement of the install root variable for Visual Studio that was resulting in a double \ midway of file paths
  • Removed VB’s single instancing and replaced it with named pipes messaging. This fixes various issues to do with firewalls, and the remoting VB tries to do. See Visual Studio Magazine November for details on the NamedPipes usage.
  • Set the required permissions to run the application as Administrator for Vista.  Without this, the app would run, but snippets would be saved in the VirtualStore where Visual Studio wouldn’t see them properly.  The problem revolves around Visual Studio having the snippet stores in the Program Files tree.

 


The download includes the source and the release build. (in the bin\release path)


UPDATE: The files are now available from my web site (http://billmccarthy.com/Projects/Snippet_Editor)


Enjoy :)

This entry was posted in 2087, 3872, 4219, 491, 5162, 5726. Bookmark the permalink.

3 Responses to Snippet Editor 2008 release

  1. Hey, thanks for the update. One question…any chance of supporting C++ snippets? I know C++ coders are second class citizens with .net, but the VS2005 IDE does support C++ snippets with the enhancement package. I was hoping for some way to create some useful snippets for C++ without having to hand edit XML. Thanks!

  2. bill says:

    Hi Lars,

    I’d be more than happy to provide support for C++ snippets especially as the C++ team has done me/us a favor or two in the past :) However, to do that I’d need to know more details on what they support and where they store their snippet paths. If should be under HCKU\Software\Microsoft\VisualStudio\CodeExpansions\ or similar. I looked for details, but the enhancements pack wouldn’t install here on Vista. The last release I could find was 11\06. The other enhancement packs are now on codeplex but not the snippet one. There’s also no sign of the feature in VS 2008 that I’ve seen nor is there an enhancement pack with snippets for VS 2008. So I’d be looking for some sign of commitment from the C++ team on its inclusion first.

    Ideally there should also be an updated snippetformat schema as the current one restricts the languages to VB, C#, XML and JSharp. That’s not a show stopper as it can easily be coded around, but it would be nice just from a reference point of view :)

  3. Wolfgang says:

    Hi,

    a little bug in Snippet Editor 2008:
    In Products.vb add following after line 275:
    275 Dim subkey As RegistryKey = languageKey.OpenSubKey(subkeyName, False)
    276 If subkey.GetValue(“”) Is Nothing Then Continue For

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>