VS Code C++代码格式化左大括号不换行

settings.json里面加入 "C_Cpp.clang_format_style": { BasedOnStyle: Google, IndentWidth: 4}

 

添加之后的效果

 

posted @ 2020-10-05 15:44  tao10203  阅读(1529)  评论(0)    收藏  举报