CoolFormat

CoolFormat Source Code Formatter

View project on GitHub

Cpp

Bracket

Bracket style

Bracket Modify

Attach namespaces

Attach classes

Attach inlines

Attach extern c

Attach closing while

Indentation

Indent using

Indent number

Indent classes

Indent modifiers

Indent switches

Indent cases

Indent namespaces

Indent after parens

Indent continuation

Indent labels

Indent preproc block

Indent preproc define

Indent preproc cond

Indent col1 comments

Min conditional indent

Max continuation indent

Padding

Break blocks

Break all blocks

Pad operators

Pad comma

Pad parens

Pad parens out

Pad parens in

Pad first paren out

Pad header

Unpad parens

Delete empty lines

Fill empty lines

Align pointer

Align reference

Formatting

Break closing braces

Break elseifs

Break one line headers

Add braces

Add one line braces

Remove braces

Break return type

Break return type decl

Attach return type

Attach return type decl

Keep one line blocks

Keep one line statements

Convert tabs

Close templates

Remove comment prefix

Max code

Max code length

Break after logical

Objective-C

Pad method prefix

Unpad method prefix

Pad return type

Unpad return type

Pad param type

Unpad param type

Align method colon

Pad method colon