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
|
||||
---
|
||||
BasedOnStyle: InheritParentConfig
|
||||
# Language: Cpp
|
||||
|
||||
AccessModifierOffset: -4
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
|
@ -120,4 +121,20 @@ SpacesInSquareBrackets: false
|
|||
Standard: Latest
|
||||
TabWidth: 8
|
||||
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