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;
} */
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 !
Suggested shortcuts are "Ctrl + K, Ctrl + C" for commenting and "Ctrl + K, Ctrl + U" for uncommenting.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With