Visual Studio Gallery


That is just a quick post to share 2 extensions for Visual Studio that I just discovered and already know I won’t be able to live without.

First, I looked at the Visual Studio Gallery before but kind of forgot about it until I read an article (categorized as Vendor-Sponsored Content so not available online) in the October issue of the MSDN Magazine. This article was about a top 10 list of free extensions for Visual Studio.

Anyway, the first extension is called GhostDoc and allows auto-generation of XML comments. I can already hear you say “yeah, but if I put 3 quotes in VB or 3 slashes in C# it already does that for me”. Nope, this extension not only creates the structure of the comment section but also writes the comments depending on what you are trying to comment. Here is an example of comment generated by GhostHost:

   1: /// <summary>
   2: /// 
   3: /// </summary>
   4: public class Person
   5: {
   6:     /// <summary>
   7:     /// Initializes a new instance of the <see cref="Person"/> class.
   8:     /// </summary>
   9:     /// <param name="name">The name.</param>
  10:     /// <param name="age">The age.</param>
  11:     public Person(string name, int age)
  12:     {
  13:     }
  14: }

Of course this is a very simple example but I didn’t type a single line of comment. It was all generated by the tool. It does so much more than that so imagine the potential time saving. It supports C# and claims to be only experimental for VB but so far it seems to be working fine in both cases.

The extension can be downloaded at http://visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=46a20578-f0d5-4b1e-b55d-f001a6345748

The second extension is called Power Command. This extension adds many function to the context menu within Visual Studio. Some of the new functions are shown in the screenshot below. I think one of the most useful for me right of the bat is the “Collapse Project” one. We have a few solutions with many projects and for some reason, VS always opens the solution with all projects expanded. Just with 2 clicks, you can collapse all projects.

image

The extension can be downloaded at http://visualstudiogallery.com/ExtensionDetails.aspx?ExtensionID=df3f0c30-3d37-4e06-9ef8-3bff3508be31

Update 11/7: Found out that this extension crashes VS when trying to add items to the toolbox or opening Xaml files. I experiences the toolbox issue myself. Still a great extension developed by MSFT so let’s hope this issue will be resolved soon and a new version published.

I may post more of those later if I find any more useful ones (I tend to be a sucker for plug-ins, add-ons and extensions in general…)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: