Visual Studio 2010: highlight CSS text and comment

Posted by pcampbell on Stack Overflow See other posts from Stack Overflow or by pcampbell
Published on 2010-04-01T02:47:29Z Indexed on 2010/04/01 2:53 UTC
Read the original article Hit count: 369

Consider a snippet of from a .css file in Visual Studio 2010 to be commented out.

alt text

Normally Ctrl-E + Ctrl-C will comment your selected HTML and other source code. Highlighting CSS code results in:

The key combination is bound to command (Comment Selection) which is not currently available.

To comment CSS in Visual Studio 2010, is there a toolbar or keyboard shortcut to comment the highlighted text for you?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about keyboard-shortcuts