Add Visual Studio code settings for auto-formatting of C++ files

This commit is contained in:
Florian Rival
2018-06-06 21:04:06 +01:00
parent 06b54e277a
commit 60484ee464
2 changed files with 5 additions and 1 deletions

1
.clang_format Normal file
View File

@@ -0,0 +1 @@
{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}

View File

@@ -93,5 +93,8 @@
},
// Support for Flowtype:
"javascript.validate.enable": false,
"flow.useNPMPackagedFlow": true
"flow.useNPMPackagedFlow": true,
// Clang format styling (duplicated in scripts/CMakeClangUtils.txt)
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}"
}