The style 4J used seems to be based on the Microsoft style (presumably the default settings of whatever Visual Studio they used to write this). However, the source files do not have much consistency so I highly doubt 4J cared too much about styling, just going with whatever happened to be the default. This style is therefore basically the Microsoft style (4-space indents, C#/Allman style braces) with some settings set based on my observations about the code. Fixes: #30
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
---
|
|
BasedOnStyle: Microsoft
|
|
AccessModifierOffset: -2
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: true
|
|
AfterControlStatement: Always
|
|
AfterEnum: true
|
|
AfterExternBlock: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterObjCDeclaration: true
|
|
AfterStruct: true
|
|
AfterUnion: false
|
|
BeforeCatch: true
|
|
BeforeElse: true
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
ColumnLimit: 0
|
|
IncludeBlocks: Preserve
|
|
IndentAccessModifiers: false
|
|
IndentCaseBlocks: true
|
|
IndentCaseLabels: false
|
|
IndentExportBlock: true
|
|
IndentExternBlock: AfterExternBlock
|
|
IndentGotoLabels: false
|
|
IndentPPDirectives: None
|
|
IndentWidth: 4
|
|
InsertBraces: true
|
|
InsertNewlineAtEOF: true
|
|
NamespaceIndentation: None
|
|
PointerAlignment: Right
|
|
RemoveParentheses: Leave
|
|
RemoveSemicolon: false
|
|
SeparateDefinitionBlocks: Leave
|
|
ShortNamespaceLines: 1
|
|
SkipMacroDefinitionBody: false
|
|
SortIncludes:
|
|
Enabled: true
|
|
IgnoreCase: false
|
|
SpacesInParens: Never
|
|
SpacesInParensOptions:
|
|
ExceptDoubleParentheses: false
|
|
InCStyleCasts: false
|
|
InConditionalStatements: false
|
|
InEmptyParentheses: false
|
|
Other: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Latest
|
|
TabWidth: 4
|
|
UseTab: Never
|