开发者

Keyboard shortcut to comment/uncomment selected code?

开发者 https://www.devze.com 2023-02-25 02:32 出处:网络
In Visual Stu开发者_StackOverflow社区dio 2008, is there a keyboard shortcut to comment/uncomment selected lines of code?

In Visual Stu开发者_StackOverflow社区dio 2008, is there a keyboard shortcut to comment/uncomment selected lines of code?


  • CTRL + K, followed by CTRL + C for commenting
  • CTRL + K, followed by CTRL + U for uncommenting

For more good stuff, check Favorite Visual Studio keyboard shortcuts.


Look under the Edit->Advanced menu. I actually changed mine to CTRL-/, CTRL-/ so I can't remember what the original was.

0

精彩评论

暂无评论...
验证码 换一张
取 消