# Vertically compact code without losing context for the human through newlines # Language: C IndentWidth: 4 TabWidth: 8 ContinuationIndentWidth: 4 UseTab: ForContinuationAndIndentation AlignAfterOpenBracket: BlockIndent AlignArrayOfStructures: Right AlignConsecutiveAssignments: Enabled: true AcrossEmptyLines: false AcrossComments: false AlignCompound: true PadOperators: true AlignConsecutiveBitFields: Consecutive AlignConsecutiveDeclarations: Consecutive AlignConsecutiveMacros: Consecutive AlignEscapedNewlines: Left AlignTrailingComments: Kind: Always OverEmptyLines: 1 AllowAllArgumentsOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: Always AllowShortCaseExpressionOnASingleLine: true AllowShortCaseLabelsOnASingleLine: false AllowShortEnumsOnASingleLine: false AllowShortFunctionsOnASingleLine: false AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false # separate long string from code AlwaysBreakBeforeMultilineStrings: true BinPackArguments: true BinPackParameters: true BitFieldColonSpacing: Before BraceWrapping: AfterCaseLabel: false AfterControlStatement: Never AfterEnum: false AfterFunction: false AfterStruct: false AfterUnion: false BeforeElse: false BeforeWhile: false BreakAdjacentStringLiterals: true BreakAfterReturnType: Automatic BreakBeforeBinaryOperators: None BreakBeforeInlineASMColon: Never BreakBeforeTernaryOperators: true # BreakBinaryOperations: Never BreakStringLiterals: false ColumnLimit: 120 IncludeBlocks: Regroup IndentCaseLabels: true IndentGotoLabels: false IndentWrappedFunctionNames: true LineEnding: LF MaxEmptyLinesToKeep: 2 PointerAlignment: Right QualifierAlignment: Leave ReflowComments: false RemoveParentheses: Leave SortIncludes: CaseInsensitive SpaceAfterCStyleCast: false SpaceAfterLogicalNot: false SpaceBeforeAssignmentOperators: true SpaceBeforeCaseColon: false SpaceBeforeParens: Custom SpaceBeforeParensOptions: AfterControlStatements: false AfterFunctionDeclarationName: false BeforeNonEmptyParentheses: false SpaceBeforeSquareBrackets: false SpaceInEmptyBlock: false SpacesInLineCommentPrefix: Minimum: 1 Maximum: 2 SpacesInParens: Never SpacesInSquareBrackets: false