Add CSharp formatting
This commit is contained in:
parent
48e84203b9
commit
efa90b5fa6
1 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# clang-format 14
|
# clang-format 14
|
||||||
---
|
---
|
||||||
BasedOnStyle: InheritParentConfig
|
BasedOnStyle: InheritParentConfig
|
||||||
|
# Language: Cpp
|
||||||
|
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -4
|
||||||
AlignAfterOpenBracket: DontAlign
|
AlignAfterOpenBracket: DontAlign
|
||||||
|
@ -120,4 +121,20 @@ SpacesInSquareBrackets: false
|
||||||
Standard: Latest
|
Standard: Latest
|
||||||
TabWidth: 8
|
TabWidth: 8
|
||||||
UseTab: Never
|
UseTab: Never
|
||||||
|
---
|
||||||
|
Language: CSharp
|
||||||
|
|
||||||
|
BreakBeforeBraces: Custom
|
||||||
|
BraceWrapping:
|
||||||
|
AfterClass: true
|
||||||
|
AfterControlStatement: Always
|
||||||
|
AfterEnum: true
|
||||||
|
AfterFunction: true
|
||||||
|
AfterStruct: true
|
||||||
|
BeforeCatch: true
|
||||||
|
BeforeElse: true
|
||||||
|
BeforeWhile: true
|
||||||
|
SplitEmptyFunction: true
|
||||||
|
SplitEmptyRecord: true
|
||||||
|
SplitEmptyNamespace: true
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue