在目录C:Users用户名下新建文件astylerc,并在其中加入配置选项。
我常用的配置如下:
--style=google --indent=spaces=4 --indent-col1-comments -p -P --convert-tabs -j -f --indent-switches --delete-empty-lines --indent-namespaces

在目录C:Users用户名下新建文件astylerc,并在其中加入配置选项。
我常用的配置如下:
--style=google --indent=spaces=4 --indent-col1-comments -p -P --convert-tabs -j -f --indent-switches --delete-empty-lines --indent-namespaces