Created
March 16, 2022 15:32
-
-
Save Novvan/faef58063ebfbdef461fccbbac02d66f to your computer and use it in GitHub Desktop.
Clang format for UE guidelines
This file contains 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
StatementMacros: | |
[ | |
"UPROPERTY", | |
"UFUNCTION", | |
"UCLASS", | |
"USTRUCT", | |
"UENUM", | |
"UINTERFACE", | |
"GENERATED_BODY", | |
] | |
Language: Cpp | |
BasedOnStyle: LLVM | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: DontAlign | |
AlignEscapedNewlines: Left | |
AlignOperands: DontAlign | |
AlignTrailingComments: true | |
AllowShortBlocksOnASingleLine: Empty | |
AllowShortEnumsOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: Inline | |
AllowShortLambdasOnASingleLine: All | |
BraceWrapping: | |
AfterCaseLabel: true | |
AfterClass: true | |
AfterControlStatement: true | |
AfterEnum: true | |
AfterFunction: true | |
AfterNamespace: true | |
AfterObjCDeclaration: true | |
AfterStruct: true | |
AfterUnion: true | |
AfterExternBlock: true | |
BeforeCatch: true | |
BeforeElse: true | |
BeforeLambdaBody: false | |
BeforeWhile: true | |
IndentBraces: false | |
BreakBeforeBinaryOperators: NonAssignment | |
BreakBeforeBraces: Custom | |
BreakInheritanceList: AfterColon | |
BreakBeforeTernaryOperators: true | |
BreakConstructorInitializers: BeforeComma | |
BreakStringLiterals: false | |
ColumnLimit: 0 | |
ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
Cpp11BracedListStyle: false | |
EmptyLineBeforeAccessModifier: LogicalBlock | |
IndentCaseBlocks: false | |
IndentCaseLabels: true | |
IndentPPDirectives: BeforeHash | |
IndentWidth: 4 | |
NamespaceIndentation: All | |
PointerAlignment: Left | |
SortIncludes: false | |
SpaceBeforeCaseColon: false | |
TabWidth: 4 | |
UseTab: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download: https://ufile.io/vikbmtvm