Created
January 24, 2019 10:13
-
-
Save stritti/66ceb10933f9acc142870c36284d94d0 to your computer and use it in GitHub Desktop.
clang-format for programming ESP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# C/C++ Coding Style for generic Projects | |
# UseTab: (VS Code current setting) | |
BasedOnStyle: LLVM | |
Language: Cpp | |
IndentWidth: 2 | |
ColumnLimit: 130 | |
BreakBeforeBraces: Attach | |
PointerAlignment: Left | |
AccessModifierOffset: -2 | |
#IndentPPDirectives: AfterHash | |
Cpp11BracedListStyle: true | |
AlignConsecutiveDeclarations: true | |
AlignConsecutiveAssignments: true | |
AlignEscapedNewlines: Left | |
AlignTrailingComments: true | |
IndentWrappedFunctionNames: false | |
AllowShortFunctionsOnASingleLine: Inline | |
SpacesBeforeTrailingComments: 2 | |
FixNamespaceComments: true | |
ReflowComments: false | |
SortIncludes: false | |
SortUsingDeclarations: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment