原地址:http://blog.sina.com.cn/s/blog_6859cadf0101i3p4.html
Keil版本uVision 4.03

1. 在Keil->Edit->Advanced中有两项 Comment Selection /Uncomment Selection 其作用是注释所选代码,与取消注释代码的作用。

打开Keil->Edit->Configuration,如图

3. 找到并切换到Shortcuts选项卡

4. 在Select a command 中找到 Edit:Advanced:Comment Selection 点击Creat Shortcut 按下你喜欢的快捷键(例如Ctrl+Shift+C),点击OK,同理可设置Unomment Selection ,具体可参见附图。




查看Keil->Edit->Advanced->Comment Selection /Uncomment Selection,可以看到快捷键已经设置成功。(*^__^*)
本文介绍如何在 Keil uVision 开发环境中为 CommentSelection 和 UncommentSelection 功能设置自定义快捷键,提高代码注释操作效率。
2707

被折叠的 条评论
为什么被折叠?



