2017.12.06 source insight 代码格式化
来源:互联网 发布:美微网络电视柠檬tv 编辑:程序博客网 时间:2024/06/05 14:28
在source insight 中有的时候赋值粘贴文件 会试文件格式乱掉,尤其是大括号之类的 特别烦人,
source insight中挂载Astyle工具 能有效的格式化文件格式。
1、下载Astyle工具
在网站http://astyle.sourceforge.net下载
2、source insight中挂载Astyle工具 (目前使用的是source insight4.0)
a、将下载的软件解压,我是放在D盘根目录下,软件好像对路径有限制,,,,。
b、在SourceInsight菜单栏里,Tools–>Custom Commands界面上选择:Add,在弹出对话框写入 命令名,在run中添加相应的命令。
在run中添加
D:\AStyle\bin\astyle.exe –style=ansi -s4 -S -N -L -m0 -M40 –suffix=none –convert-tabs %f
3、在菜单中添加 软件。
在Options–>Menu Assignment界面上选择 添加 在任意菜单下,我是添加到了 Tools下了,,
4、使用
点击回车 就好
阅读全文
0 0
- 2017.12.06 source insight 代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化
- source insight代码格式化(Astyle)
- Source Insight中集成Uncrustify格式化代码
- source insight代码格式化(Astyle)
- source insight代码格式化(Astyle)
- Source Insight中集成Uncrustify格式化代码
- source insight代码格式化(Astyle)
- source insight代码格式化(Astyle)
- source insight代码格式化(Astyle)
- source insight代码格式化(Astyle)
- Android Studio——布局管理器
- Java字节码4-使用Java-Agent实现一个JVM监控工具
- Android 反编译(三)java文件 和 .smail文件判断和循环比较
- shell中的一些后台执行命令(crontab/at/&/nohup)
- 指尖上行--移动前端开发进阶之路(读书笔记)----2.1动画形式
- 2017.12.06 source insight 代码格式化
- js 获取随机数的方法
- java基础之【继承】
- 后缀自动机学习小记
- 自适应控制---自校正PID控制器
- File类(1)——构造方法和功能实现
- struts出现Developer Notification错误时
- Linux:文件编程
- Android 反编译(一)反编译apk