https://www.sourceinsight.com/download/macro-files/

为了提高代码编辑效率,source insight提供了macro功能,非常方便。

Source Insight Macro Files

autoexp.em              Automatically expands C statements like if, for, while, switch, etc..
closebuf.em             Close all non-dirty file windows
CloseOldWindows.em      Closes all but the most recently visited windows and files. Any dirty files are kept open.
comment.em              Comment/Uncomment the selected block of text using single line comments and indent it
CompleteWord.em         Word completion within a buffer
eventsample.em          contains example event functions
home.em                 Extends the selection back to the first non-white space on the current line.
matchdelim.em           Finds matching scoping delimiters and jumps to them
multikey.em             Can be used to create a secondary key mapping which maps keys after an initial  key press.
PrintSelection.em       Prints the currently selected text.
ProgressiveSearch.em    command that performs a progressive search as the user types.
replace.em              Replace a list of strings across the whole project.
ReplaceSpans.em         Replaces patterns that span lines
siutils.em              Misc utilities
spacetotab.em           Converts leading spaces to tabs in C or C++ source lines
stringutils.em          Assorted string utility functions used by some other macro files.
Tabby.em                Converts spaces to tabs and tabs to spaces.
TrimSpaces.em           This function trims white spaces from the ends of the selected lines.
utils.em                Misc utilities.
wordstar.em             Wordstar Keyboard Emulation

Using Sample Macro Files

To add a macro file:

  1. Add the macro file to your project by selecting Project > Add and Remove Project Files. If you add the macro file to the Base project instead, it will be available in all projects.
  2. Select Options->Key Assignments.
  3. Find and select the macro command name in the command list. You can start to type its name to find it quickly in the list.
  4. Click Assign New Key to bind a key to the macro.
  5. Press the key combination you prefer, then click OK.
  6. Now you can run the macro command using the key combination.

Alternatively, you can put the macro command on a menu by selecting Options > Menu Assignments.

source insight macro相关推荐

  1. 让Source Insight完美支持中文注释 (转)

    如何让source insight支持中文注释,解决回车删除,移动光标出现乱码的问题?下面是解决方案: -------Source Insight3 中文操作(左右键.删除和后退键)支持宏------ ...

  2. source insight 4.0的基本使用方法

    一.项目管理 1.新建一个项目 快捷键Alt+Shift+N可以打开新建项目对话框,然后根据提示填好项目存储位置,源文件位置等,然后会出现添加删除项目文件对话框,选中自己想要编辑和浏览的文件添加即可, ...

  3. Source Insight中的多行注释

    我们经常要对一整段代码进行注释,很多代码编辑器都提供了这样的功能:用快捷键"Ctrl + /"来实现"//"的多行注释. 但是在用source insight的 ...

  4. Source Insight 常用设置和快捷键大全

    Source Insight 4.0 文件类型.编码格式.tab转空格.tab键自动补全设置... http://www.cnblogs.com/bluestorm/p/6864540.html 1. ...

  5. 【editor】Source Insight定制之代码风格自动校准功能(AStyle的使用)

    前一篇博文讲了Source Insight编辑器中简单的宏命令(Macro)的制作方式,并与快捷键关联起来.只是为了解决代码的风格和快捷键注释的问题.但从目前来看,只有代码的快捷注释功能是有实用价值的 ...

  6. Source Insight Source Navigator使用技巧

    Source Insight & Source Navigator使用技巧 一.Source Insight实用技巧: Source Insight(下文的SI指的也是它)就是这样的一个东西: ...

  7. Source Insight使用技巧

    一.Source Insight实用技巧: Source Insight(下文的SI指的也是它)就是这样的一个东西: Windows下开发人员的至爱,功能强大,界面友好.支持语法高亮.符号跳转,还支持 ...

  8. Source Insight 4.0的使用(转)

    原作者地址:https://blog.csdn.net/qq_39660930/article/details/77499455 一.项目管理 1.新建一个项目 快捷键Alt+Shift+N可以打开新 ...

  9. Source Insight 设置和快捷键大全

    原文:https://www.cnblogs.com/bluestorm/archive/2012/10/28/2743792.html Source Insight 4.0 文件类型.编码格式.ta ...

最新文章

  1. mysql/mariadb centos7 修改root用户密码及配置参数
  2. 树莓派/PC实现实时摄像头数据共享(Python—OpenCV)
  3. 中国AI论文普遍水?机器学习教父Tom Mitchell的回答是……
  4. 写一个操作系统有多难?自制 os 极简教程
  5. Play 1.x框架学习之五:错误信息显示 (error message display In play framework)
  6. C# Excel转换为Json
  7. 实用工具---制作试卷
  8. JS判断鼠标从哪个方向进入DIV容器
  9. 看TensorFlow如何玩转深度学习
  10. 取余运算||快速幂(洛谷-P1226)
  11. 龙芯笔记本可能以闹剧收场
  12. python求主析取范式_python应用之求主析取范式,主合取范式
  13. 金融安全视角农民投资理财的实证研究——以X县为例
  14. 剑指Offer面试题:31.两个链表的第一个公共节点
  15. 《Imaging Systems For Medical Diagnostics》——12. X-ray components and systems (3) X射线组件和系统(3)
  16. 彻底删除Cygwin
  17. 正大国际期货:外盘黄金交易中如何用MACD指标捕捉波段
  18. Perculia for Mac(苹果电脑蓝牙助手)
  19. 艾司博讯:拼多多商家入驻条件和入驻程序
  20. 基于51单片机的智能红外遥控防雨晾衣架 雨滴光强检测系统proteus仿真原理图PCB

热门文章

  1. MATLAB中cla函数
  2. python读取邮件发送日期和时间_Python获取邮件的日期时间Gmai
  3. mysql数据库名称中包含短横线的对应方式
  4. Picasso之图片缓存机制二ListView篇
  5. android 世界各国英文简写代码 资源文件
  6. 黑盒测试技术(概念等价类划分法详细)——软件质量保证与测试
  7. window.requestAnimationFrame Web3D渲染帧率控制
  8. netterm linux,NetTerm终端仿真软件下载
  9. OneNav一为主题魔改教程(七):继续完善本地网址功能,重复的网址不让保存--洞五洞洞幺
  10. 设计模式之游戏--观察者模式详解