Skip to content

Commit 60484ee

Browse files
committed
Add Visual Studio code settings for auto-formatting of C++ files
1 parent 06b54e2 commit 60484ee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.clang_format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}

.vscode/settings.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,8 @@
9393
},
9494
// Support for Flowtype:
9595
"javascript.validate.enable": false,
96-
"flow.useNPMPackagedFlow": true
96+
"flow.useNPMPackagedFlow": true,
97+
98+
// Clang format styling (duplicated in scripts/CMakeClangUtils.txt)
99+
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, BinPackParameters: false, BinPackArguments: false}"
97100
}

0 commit comments

Comments
 (0)