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

相關文章
相關標籤/搜索