53 lines
963 B
Plaintext
53 lines
963 B
Plaintext
---
|
|
Language: Cpp
|
|
BasedOnStyle: Microsoft
|
|
IndentWidth: 4
|
|
ColumnLimit: 120
|
|
|
|
# Braces
|
|
BreakBeforeBraces: Allman
|
|
BraceWrapping:
|
|
AfterFunction: true
|
|
AfterControlStatement: Always
|
|
AfterClass: true
|
|
AfterStruct: true
|
|
AfterEnum: true
|
|
BeforeElse: true
|
|
BeforeCatch: true
|
|
|
|
# Pointer alignment
|
|
PointerAlignment: Left
|
|
ReferenceAlignment: Left
|
|
|
|
# Indentation
|
|
IndentCaseLabels: false
|
|
IndentAccessModifiers: false
|
|
AccessModifierOffset: -4
|
|
|
|
# Line breaking
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLoopsOnASingleLine: false
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
# Spacing
|
|
SpaceBeforeParens: ControlStatements
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
# Includes
|
|
SortIncludes: CaseSensitive
|
|
IncludeBlocks: Preserve
|
|
|
|
# Comments
|
|
ReflowComments: true
|
|
FixNamespaceComments: true
|
|
|
|
# Alignment
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignTrailingComments: true
|
|
|
|
# Empty lines
|
|
MaxEmptyLinesToKeep: 1
|
|
...
|