vscode如何设置cpp代码格式

vscode如何设置cpp代码格式

How to customize your own coding style rule

Please install your VSCode and Extension C/C++ for Visual Studio Code first

I would like to recommend some argument which I feel useful

  • BasedOnStyle:Choose your side, I chose Google!
LLVM A style complying with the LLVM coding standards
Google A style complying with Google’s C++ style guide
Chromium A style complying with Chromium’s style guide
Mozilla A style complying with Mozilla’s style guide
WebKit A style complying with WebKit’s style guide
Microsoft A style complying with Microsoft’s style guide

Ref

https://medium.com/@zamhuang/vscode-how-to-customize-c-s-coding-style-in-vscode-ad16d87e93bf

posted on 2020-04-10 14:48  cutepig  阅读(1115)  评论(0编辑  收藏  举报

导航