ctrl + p 打开 setting.json输入以下内容保存即可 "C_Cpp.clang_format_style": "{ BasedOnStyle: Chromium, IndentWidth: 4}",