Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 comment / uncomment buttons for css files

Are there comment and uncomment buttons that work while you're editing a css file?

/* #content h2 {

    color: #000;
    font-size: 18px;
    margin:5px 0px 5px 0px;
} */
like image 752
FiveTools Avatar asked May 05 '11 14:05

FiveTools


People also ask

How do you uncomment in CSS?

You can also use standard shortcut key ( CTRL + K + C ) for commenting out the code block and (CTRL + K + U ) for uncommenting the code block. Hope this helps ! Cheers !

How do you uncomment a comment in Visual Studio?

Suggested shortcuts are "Ctrl + K, Ctrl + C" for commenting and "Ctrl + K, Ctrl + U" for uncommenting.

How do I add comment and uncomment in Visual Studio toolbar?

Shortcut key for comment in Visual Studio 2019 Select the piece of code that you would like to comment on. Then click CTRL + K + C to apply comment on the selected code.


1 Answers

You can record your own macros in VS.

This article might help you (it's for VS2008 but it's same in VS2010):

http://www.brianschmitt.com/2009/09/how-to-comment-uncomment-code-selection.html

like image 61
easwee Avatar answered Oct 09 '22 16:10

easwee