Making <summary> tags fit on one line.
I'm always trying to maximize the amount of visible code that can fit on a screen at one time. I think this improves the ability to cross reference calls and evaluate logic etc.. One annoying feature of the VS.NET is the way the <summary> tag takes up at least three lines when really it could just append everything onto one line. So...
<summary>
My comment
</summary>
could be
<summary>My comment</summary>
To do this I just do a Find and Replace with a regular expression. The Find String is:
\<summary\>.*\n:b+///:b{.*}\n:b+///:b\</summary\>
And the replace string uses the tag above (in curly brackets):
\<summary\>\1\</summary\>
One thing that is strange, why does VS.NET use a different tagged expression syntax to System.Text.RegularExpression?