Partilhar via


Updated extensions for Beta 2

I've updated all my extensions for Beta 2. Here are descriptions of the changes, as well as links to the source for each on github and the extension on VS Gallery.

GoToDef

GoToDef v1.2 on github
GoToDef on vsgallery

This was the only one that was somewhat substantial. There were essentially two changes:

First, the classifier that underlines the text has been rewritten (very slightly) as an ITagger<ClassificationTag>, so that the provider can be rewritten as an IViewTaggerProvider. This is going to get its own blog article, but the short story is that if you are writing a classifier/tagger that is consuming other classifiers/taggers, you should write it as a view-specific tagger to avoid accidentally using an aggregator that uses another classifier/tagger that uses your classifier/tagger that uses an aggregator that uses...ad infinitum.

Second, the mouse handler had some ugly logic for getting a service provider and getting the global shell command dispatcher. That has been simplified down (from ~20 lines to 1 line) to use the new [Import] System.IServiceProvider in Beta 2.

ItalicComments

ItalicComments v1.2 on github
ItalicComments on vsgallery

This one was really minor. The only change of note is that IEnvironment is gone in Beta 2 from everywhere, so you can just delete all references to it and its namespace (it has ApplicationModel in it, but it should be obvious if you re-compile an extension you wrote against Beta 1).

TripleClick

TripleClick v1.0 on github
TripleClick on vsgallery

This is the extension that I blogged about yesterday.

Oh, and I also wanted to add: I heart git/github very, very much. Internet props to all them git/github people.

Comments

  • Anonymous
    October 30, 2009
    All extensions are not working for me :/ Window 7 x64/ Visual Studio Ultimate Beta 2 can you help me?

  • Anonymous
    October 30, 2009
    Can you be a bit more specific (which extensions, how did you install them, do they appear in the extension manager, etc.)? -Noah

  • Anonymous
    October 30, 2009
    Italic Comments, i tried to install them via the new manager, via the download of the .vsix and all ways installed them correctly but it has no effect( i restarted VS and OS after every install of course) they appear in the manager. Alex

  • Anonymous
    October 30, 2009
    The comment has been removed

  • Anonymous
    October 30, 2009
    here is the Solution: load per user extensions when running as administrator MUST be checked. now your great extensions works very fine ;D