您的位置:首页 > 其它

Source Insight 添加 文件格式化命令

2015-09-20 17:03 381 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息