blob: 610ec1213b0bc307c45cad7439330d427ce64cdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
-------------------------------------------------------------------------------
Goal:
Do as little or as much reformatting as desired - everything should be configurable
Features:
Whitespace modifications
+ Indent code (tabs, tabs + spaces, spaces)
- brace indenting
- paren continuation
- '=' continuation
- broken string continuation
- comment indenting
+ Add/Remove spaces before/after/between symbols
+ position braces (same line, cuddle else/while, etc)
Non-whitespace modifications
+ Put a '*' on the left in multi-line C comments
+ Add/Remove outter-most parens on return expressions
+ Add braces for 'fully braced' format
(TODO: update the list to include more available features)
|