File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
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 1+ # astyle version 3.1
2+ # astyle --project=tools/astyle.cfg -r -I 'src/*.cpp' 'src/*.h'
3+ # astyle --project=tools/astyle.cfg -r -I 'lib/*.cpp' 'lib/*.h'
4+
5+ # --max-code-length=120
6+
7+ --indent =tab
8+ --indent-classes
9+ --indent-labels
10+ --indent-preproc-block
11+ --indent-preproc-define
12+ --convert-tabs
13+ --max-continuation-indent =64
14+ --keep-one-line-blocks
15+ --align-pointer =type
16+ --align-reference =type
17+ --pad-oper
18+ --pad-comma
19+ --pad-header
20+ --suffix =none
21+
22+ --exclude =bitfiddle.h
23+ --exclude =lib/CHMLib
24+ --ignore-exclude-errors-x
You can’t perform that action at this time.
0 commit comments