C++ 代码格式化工具Astyle

比眉伴天荒 2021-09-30 12:54 740阅读 0赞

1.下载Asyle程序。

win版本:https://sourceforge.net/projects/astyle/

2.将bin/AStyle.exe拷到源码目录中,在命令行终端执行。

  1. AStyle.exe --style=google --recursive --indent=spaces=2 --suffix=none --mode=c *.h *.hpp *.cpp

3.帮助文档

  1. http://astyle.sourceforge.net/astyle.html

转载于:https://www.cnblogs.com/cv-pr/p/9047278.html

发表评论

表情:
评论列表 (有 0 条评论,740人围观)

还没有评论,来说两句吧...

相关阅读