Appearance
astyle,下载地址进入点击downloadkeil选择tool->customize Tools
astyle
keil
tool
customize Tools
创建菜单名称选择astyle地址输入格式化指令 !E -pnUk1s2 --style=linux
!E -pnUk1s2 --style=linux
创建菜单名称选择astyle地址注意:需要选择工程目录,否则格式化时可能找不到输入格式化指令*.c *.h --style=allman --recursive
*.c *.h --style=allman --recursive
需要点击才能格式化,下面我们可以配置快捷键
注释时需要先选中