Loading

QtCreator使用AStyle配置VS默认编辑代码风格

基础配置和下载

  • 基础配置和下载,随便找一个教程就行

下面贴出我的配置

--style=allman 
indent=spaces=4
indent-switches
indent-preproc-block
indent-col1-comments
pad-oper
pad-comma

其中indent=spaces=4必须填写,否则会配置错误

posted @ 2021-07-07 11:03  ligiggy  阅读(373)  评论(0编辑  收藏  举报