Source insight4.0上配置Astyle

1、在Souce insight上选择Tools->Custom Commands,点击Add,输入Astyle,点击OK。

2、在Run中输入C:\AStyle\bin\AStyle.exe --style=ansi -S -N -L -xC80 -z2 --convert-tabs -H -p -U --align-pointer=name --quiet --suffix=none %f

3、在Source insight选择Options->Menu Assignments,在Command中选择Astyle,在Menu中选择View,在Menu Contents中选择Toolbars,然后点击Insert
点击Insert,点击OK,完成。

4、在Source insight中选择Options->Key Assignments,在Command中选择Astyle,点击Assign New Key,然后输入一个快捷键

posted @ 2019-11-30 15:07  jzhiyu  阅读(1024)  评论(0编辑  收藏  举报