-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastylerc
More file actions
51 lines (41 loc) · 868 Bytes
/
astylerc
File metadata and controls
51 lines (41 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Artistic Style options file.
# See <http://astyle.sourceforge.net/astyle.html> and `astyle -h` for more information.
#
# Brackets
--style=attach
# Indent
--indent=spaces=4
# Bracket Modify Options
--attach-namespaces
--attach-classes
--attach-inlines
--attach-extern-c
# Indentation Options
--indent-switches
--indent-modifiers
#--indent-preproc-block
--indent-preproc-define
--indent-col1-comments
# Padding Options
--break-blocks
--pad-oper
--pad-paren-in
#--delete-empty-lines
--align-pointer=name
--align-reference=name
# Formatting Options
--break-closing-brackets
--add-brackets
--convert-tabs
--close-templates
--max-code-length=140
--break-after-logical
# Objective‑C Options
--align-method-colon
--unpad-method-prefix
--pad-method-colon=none
# Line endings
--lineend=linux
# Preserve the original file's date and time modified
--preserve-date