Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- # Language: ObjC
- BasedOnStyle: Google
- AccessModifierOffset: 0
- ConstructorInitializerIndentWidth: 4
- SortIncludes: false
- # 连续赋值时,对齐所有等号
- # AlignConsecutiveAssignments: true
- AlignAfterOpenBracket: true
- AlignEscapedNewlinesLeft: true
- AlignOperands: false
- AlignTrailingComments: true
- AllowAllParametersOfDeclarationOnNextLine: false
- AllowShortBlocksOnASingleLine: false
- AllowShortCaseLabelsOnASingleLine: false
- AllowShortFunctionsOnASingleLine: false
- AllowShortIfStatementsOnASingleLine: false
- # AllowShortFunctionsOnASingleLine: All
- AllowShortLoopsOnASingleLine: false
- AlwaysBreakAfterDefinitionReturnType: false
- AlwaysBreakTemplateDeclarations: false
- AlwaysBreakBeforeMultilineStrings: false
- BreakBeforeBinaryOperators: None
- BreakBeforeTernaryOperators: false
- BreakConstructorInitializersBeforeComma: false
- BinPackArguments: true
- BinPackParameters: true
- ColumnLimit: 110
- ConstructorInitializerAllOnOneLineOrOnePerLine: true
- DerivePointerAlignment: false
- ExperimentalAutoDetectBinPacking: false
- IndentCaseLabels: true
- IndentWrappedFunctionNames: false
- IndentFunctionDeclarationAfterType: false
- MaxEmptyLinesToKeep: 1 # 连续的空行保留几行
- KeepEmptyLinesAtTheStartOfBlocks: false
- NamespaceIndentation: Inner
- ObjCBlockIndentWidth: 4
- ObjCSpaceAfterProperty: true
- ObjCSpaceBeforeProtocolList: true
- PenaltyBreakBeforeFirstCallParameter: 10000
- PenaltyBreakComment: 300
- PenaltyBreakString: 1000
- PenaltyBreakFirstLessLess: 120
- PenaltyExcessCharacter: 1000000
- PenaltyReturnTypeOnItsOwnLine: 200
- PointerAlignment: Right
- SpacesBeforeTrailingComments: 1
- Cpp11BracedListStyle: true
- Standard: Auto
- IndentWidth: 4
- TabWidth: 4
- UseTab: Never
- BreakBeforeBraces: Custom
- BraceWrapping:
- AfterClass: true
- AfterControlStatement: false
- AfterEnum: false
- AfterFunction: false
- AfterNamespace: true
- AfterObjCDeclaration: false # ObjC定义后面是否换行
- AfterStruct: false
- AfterUnion: false
- BeforeCatch: false
- BeforeElse: false
- IndentBraces: false
- SpacesInParentheses: false
- SpacesInSquareBrackets: false
- SpacesInAngles: false
- SpaceInEmptyParentheses: false
- SpacesInCStyleCastParentheses: false
- SpaceAfterCStyleCast: false
- SpacesInContainerLiterals: true
- SpaceBeforeAssignmentOperators: true
- ContinuationIndentWidth: 4
- CommentPragmas: '^ IWYU pragma:'
- ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
- SpaceBeforeParens: ControlStatements
- DisableFormat: false
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement