Visual C# Express 2010 注释代码块的快捷方式?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8910070/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual C# Express 2010 Shortcut to comment a code block?
提问by Mehdi LAMRANI
I am looking for the equivalent of VS2010's CtrlECtrlCon Express edition
我正在寻找相当于 VS2010 的CtrlECtrlCExpress 版
采纳答案by Chuck Norris
Ctrl+K, Ctrl+C //comment
Ctrl+K, Ctrl+U //uncomment
Try this combinations.
试试这个组合。
回答by David Pfeffer
CtrlMSDN, CtrlSign Up, CtrlPay Money, CtrlDownload/Install VS2010, CtrlECtrlC?
CtrlMSDN, CtrlSign Up, CtrlPay Money, CtrlDownload/Install VS2010, CtrlECtrlC?
Seriously though, CtrlECtrlCworks fine for me in Express edition. You might want to reset to defaults in options.
不过说真的,CtrlECtrlC在 Express 版中对我来说效果很好。您可能希望在选项中重置为默认值。
You can also try CtrlKCtrlCto comment, if you configured your default settings differently on first launch.
CtrlKCtrlC如果您在首次启动时配置了不同的默认设置,您也可以尝试发表评论。
回答by Strillo
Don't have Express installed but I would assume you can customize it in Tools -> Options -> Keyboard, then search for Edit.CommentSelection (or Edit.UncommentSelection).
没有安装 Express,但我假设您可以在工具 -> 选项 -> 键盘中自定义它,然后搜索 Edit.CommentSelection(或 Edit.UncommentSelection)。



