views:

46

answers:

1

Here is an old add in to quickly comment out HTML code. Maybe I am missing it, but it seems like there is a shortcut in VS2010 to scratch your tail with one click but commenting out HTML code is still awkward as hell.

What's the easiest way to get a function like this working?

Can I expect any add-ins that were written for older versions of VS to work in VS2010 w/o an upgrade?

+2  A: 

Visual Studio's Comment Selection command (Ctrl + K, C) works with HTML.

You can also press Ctrl + K, U to uncomment.

SLaks
Cool. What's the easiest way to add a menu option or preferably a toolbar button to equate to this key sequence?
Velika
Show the Text Editor toolbar, or click Edit, Advanced.
SLaks