-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathastylerc
18 lines (17 loc) · 1.08 KB
/
astylerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Filename: astylerc
# Purpose: config file for astyle
# http://astyle.sourceforge.net/astyle.html
# Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
# Savoir-faire Linux Inc
# https://jami.net
style=stroustrup # stroustrup style http://astyle.sourceforge.net/astyle.html#_style=stroustrup
indent=spaces=4 # Use spaces instead of tabs for indentation
indent-classes # Indent 'class' and 'struct' blocks so that the blocks 'public:', 'protected:' and 'private:' are indented
indent-switches # Indent 'switch' blocks so that the 'case X:' statements are indented in the switch block
break-blocks # Pad empty lines around header blocks (e.g. 'if', 'while'...).
brackets=linux
unpad-paren # Remove unwanted space around parentheses
pad-header # Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...)
pad-oper # Insert space padding around operator
formatted # only display files that have changed
suffix=none # don't create backup files (that's what version control is for)