
如何给Source Insight添加块注释的宏 等
1个回答
展开全部
l Open “source insight”
l Open base project (Menu project->open project and you’ll find it)
l Open “utils.em” file (in the right floating window) and replace its content with the attached one.
2) Enable the macros
l Select Menu “Options” -> “Key assignment”
l Scroll down the left list box to find the macros:
Macro: CommentBlock
Macro: SelectAll
Macro: UncommentBlock
l Assign New keys for the macros
eg. “Ctrl+A” for “Select All”, “Ctrl+F11” for “CommentBlock” and “Shift+Ctrl+F11” for “UncommentBlock”
3) Try it.
Close the project and create a new file. Randomly enter something, press “Ctrl+A”, “Ctrl+F11”, “Ctrl+Shift+F11” to have a try.
By default, it will comment the block of lines with “//” at the beginning of each line, but if the file is a PERL file (.pl), it will use “#” instead. And you can change it for different file types by modifying the macro definition file (utils.em).
l Open base project (Menu project->open project and you’ll find it)
l Open “utils.em” file (in the right floating window) and replace its content with the attached one.
2) Enable the macros
l Select Menu “Options” -> “Key assignment”
l Scroll down the left list box to find the macros:
Macro: CommentBlock
Macro: SelectAll
Macro: UncommentBlock
l Assign New keys for the macros
eg. “Ctrl+A” for “Select All”, “Ctrl+F11” for “CommentBlock” and “Shift+Ctrl+F11” for “UncommentBlock”
3) Try it.
Close the project and create a new file. Randomly enter something, press “Ctrl+A”, “Ctrl+F11”, “Ctrl+Shift+F11” to have a try.
By default, it will comment the block of lines with “//” at the beginning of each line, but if the file is a PERL file (.pl), it will use “#” instead. And you can change it for different file types by modifying the macro definition file (utils.em).

2024-10-22 广告
百事牛是共享提供商,我们提供可靠有效的服务,适当合理的授权费有利于的继续更新优化。同样的事情,同样的方法,百事牛团队十年磨一剑,始终至聚焦在密码恢复领域,深耕于此,我们已研制出有别于其他公司的算法和运算模式, 百事牛的暴力模式加入了分布式点...
点击进入详情页
本回答由百事牛提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询