It looks like it's the week of CodeRush/DXCore plug-ins (I still have one more plug-in coming up).
This plug-in just lets you collapse an XML comment tag to one line (I'll explain it a bit more below). It was actually written as a Refactoring (so it appears when you hit the refactoring key or wait for the ellipses to appear below the code). I put this one together a few days ago and was planning on releasing it after I had a chance to live with it for a while to see if there were any changes or bugs I needed to address. But someone on the DevExpress forums recently posted about wanting a plug-in which did the same thing so I decided to just release it right now.
So what does this really do?
When you add an XML comment to something like a property or field, you end up with the following (in C#):
/// <summary>////// </summary>private int m_someValue;
The cursor is positioned on the second line. After installing this refactor, you can hit the Refactor key (which I mapped to just the ` key (instead of Shift or Alt or Ctrl ` , whatever the default is) and this comment will get collapsed down to one line:
/// <summary></summary>
This can help eliminate some of the visual noise of the comment, especially if it's just a short comment.
If you have a muli-line comment, it actually collapses it in two stages (that is, you can issue the refactoring twice), so for example:
/// <summary>/// This is my multi-line /// comment about nothing./// </summary>
The first time you collapse it you end up with:
/// <summary>This is my multi-line/// comment about nothing.</summary>
The second time you collapse it you end up with:
/// <summary>This is my multi-line comment about nothing.</summary>
You can download the code from the download section on my site or the community site. Like before, there will probably be a few day delay between when it's available here and when I get it put up on the community site.
To install it, copy it into your C:\Program Files\Developer Express Inc\DXCore for Visual Studio .NET\2.0\Bin\Plugins\ folder.
Links:
http://www.rcs-solutions.com/Download.ashx?File=Refactor_Comments.ziphttp://code.google.com/p/dxcorecommunityplugins/
Remember Me
a@href@title, b, i, strike