Skip to content

Instantly share code, notes, and snippets.

@lucidfrontier45
Last active May 2, 2022 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucidfrontier45/f148925a702e026b7e53d4b2ed0c36d9 to your computer and use it in GitHub Desktop.
Save lucidfrontier45/f148925a702e026b7e53d4b2ed0c36d9 to your computer and use it in GitHub Desktop.
VSCode settings for Python/C++ development with clangd LSP
BasedOnStyle: Webkit
AlignOperands: true
AlignAfterOpenBracket: Align
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
ConstructorInitializerAllOnOneLineOrOnePerLine: false
BreakConstructorInitializers: BeforeColon
AlwaysBreakTemplateDeclarations: true
ColumnLimit: 88
SortIncludes: true
{
"C_Cpp.autocomplete": "Disabled",
"C_Cpp.codeAnalysis.clangTidy.enabled": false,
"C_Cpp.errorSquiggles": "Disabled",
"C_Cpp.formatting": "Disabled",
"C_Cpp.intelliSenseEngine": "Disabled",
"[c]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[cpp]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"cmake.configureSettings": {
"PYTHON_EXECUTABLE": "<your_project_python_path>"
},
"cmake.generator": "Ninja"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment