File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed
Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1+ Developers tools
2+ ================
3+
4+
5+ Astyle
6+ ------
7+
8+ https://astyle.sourceforge.net/astyle.html
9+
10+ Usage (from source root):
11+
12+ astyle --project=tools/astyle.cfg -I path/to/file.cpp
13+
14+ or
15+
16+ astyle --project=tools/astyle.cfg -I -r 'module/*.cpp' 'module/*.h'
Original file line number Diff line number Diff line change 11# astyle version 3.1
2+ # astyle --project=tools/astyle.cfg -r -I 'src/*.cpp' 'src/*.h'
23
3- --max-code-length=96
4+ --max-code-length =120
45
56# Indents
6- --convert-tabs
7- --indent=spaces=4
7+ --indent =tab
88--indent-col1-comments
9- --max-instatement-indent=40
109--min-conditional-indent =2
1110--indent-preproc-block
1211--indent-preproc-define
2827--pad-header
2928--unpad-paren
3029
31- --align-pointer=name
30+ --align-pointer =type
31+ --align-reference =type
32+
33+ --suffix =none
You can’t perform that action at this time.
0 commit comments