Source Insight 添加 文件格式化命令

1. 下载Astyle.exe文件

http://d.119g.com/f/FB635F8C19491D1D.html

     如,解压后位置为:"E:\installer\AStyle_2.03_windows\AStyle\bin\AStyle.exe"

2.  打开sourceinsight

3. options->custom commands -> add 

    加一个新的命令,名字为Format File ,运行处填写:"E:\installer\AStyle_2.03_windows\AStyle\bin\AStyle.exe" -n -t --style=ansi %f

4. options->assign key ... ... 


done


你可能感兴趣的:(linux,编程工具相关)