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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章