VS下格式化代码插件AStyle

时间:2020-08-09 08:05:56
【文件属性】:
文件名称:VS下格式化代码插件AStyle
文件大小:363KB
文件格式:VSIX
更新时间:2020-08-09 08:05:56
格式化代码 AStyle VS下格式化代码插件AStyle 。VS2010 VS2013亲测可用。安装后,在工具选项里面能看到 AStyle Formatter ,可以设置格式化参数。我常用的参数:--style=allman --indent=tab=4 --indent-cases --pad-oper --pad-header --unpad-paren --keep-one-line-blocks --keep-one-line-statements --mode=c 在菜单 编辑 -> 高级 里面 选择 Format Document (AStyle) 即可。(PS:最好自定义一个快捷键,方便调用操作)

网友评论