Skip to content

Instantly share code, notes, and snippets.

@gyulkkajo
Created July 23, 2018 06:40
Show Gist options
  • Save gyulkkajo/d5a272f0d54d5e709cd43d61c7db4457 to your computer and use it in GitHub Desktop.
Save gyulkkajo/d5a272f0d54d5e709cd43d61c7db4457 to your computer and use it in GitHub Desktop.
vscode workspace setting for linux kernel and modules
---
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Linux
AlwaysBreakBeforeMultilineStrings: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AlignAfterOpenBracket: true
SpaceAfterCStyleCast: false
MaxEmptyLinesToKeep: 2
BreakBeforeBinaryOperators: NonAssignment
SortIncludes: false
ContinuationIndentWidth: 8
{
"editor.tabSize": 8,
"editor.wordWrap": "wordWrapColumn",
"editor.wrappingIndent": "same",
"editor.wordWrapColumn": 80,
"C_Cpp.clang_format_style": "file",
"C_Cpp.clang_format_fallbackStyle": "none"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment