简体   繁体   English

Visual C#Express 2010评论代码块的快捷方式?

[英]Visual C# Express 2010 Shortcut to comment a code block?

我在Express版本上寻找相当于VS2010的Ctrl E Ctrl C.

Ctrl+K, Ctrl+C //comment
Ctrl+K, Ctrl+U //uncomment

Try this combinations. 尝试这种组合。

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)。

在此输入图像描述

Ctrl MSDN , Ctrl Sign Up , Ctrl Pay Money , Ctrl Download/Install VS2010 , Ctrl E Ctrl C ? Ctrl MSDNCtrl Sign UpCtrl Pay MoneyCtrl Download / Install VS2010Ctrl E Ctrl C

Seriously though, Ctrl E Ctrl C works fine for me in Express edition. 说真的, Ctrl E Ctrl C在Express版本中对我来说很好。 You might want to reset to defaults in options. 您可能希望重置为选项中的默认值。

You can also try Ctrl K Ctrl C to comment, if you configured your default settings differently on first launch. 如果在首次启动时以不同方式配置默认设置,也可以尝试按Ctrl K Ctrl C进行注释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM