C++ 代码格式化工具Astyle

1.下载Asyle程序。html

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

 

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

 

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

 

3.帮助文档.net

相关文章
相关标签/搜索