3

Is there a way to use one keyboard shortcut ( Ctrl + / for example) to comment or uncomment if commented in Visual Studio 2012, like it is in SublimeText or PhpStorm?

VSOP_juDGe
  • 51
  • 4

1 Answers1

0

You could use Ctrl+K, Ctrl+C for comment the selected and Ctrl+K, Ctrl+U for un-comment the code lines. But remember this will add comment symbol (//) to all the code lines. As far as I know, there is no specific short cut for block comment (/* .. */) in VS 2012.

L Y E S - C H I O U K H
  • 4,765
  • 8
  • 40
  • 57
Diablo
  • 443
  • 7
  • 21