File: astylerc

package info (click to toggle)
hamlib 4.6.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,984 kB
  • sloc: ansic: 262,996; sh: 6,135; cpp: 1,578; perl: 876; makefile: 855; python: 148; awk: 58; xml: 26
file content (43 lines) | stat: -rw-r--r-- 1,074 bytes parent folder | download | duplicates (5)
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
# astylerc--custom options for astyle

# K&R style formatting/indenting with some tweaks.
style=allman

# Indent with a width of 4 spaces.
indent=spaces=4

# Pad empty lines around header blocks (e.g. 'if', 'for', 'while'...).
break-blocks

# Remove extra space padding around parenthesis on the inside and outside.
unpad-paren

# Insert space padding around operators.
pad-oper

# Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...).
pad-header

# Attach a pointer operator (*) to name (name) and reference operator (&)
# to type (type).
align-pointer=name
align-reference=type

# Add brackets to unbracketed one line conditional statements
# (e.g. 'if', 'for', 'while'...).
add-brackets

# Don't break one-line blocks.
keep-one-line-blocks

# Don't break complex statements and multiple statements residing on a single line.
keep-one-line-statements

# Converts tabs into spaces in the non-indentation part of the line.
convert-tabs

# try to shorten long lines to 80 characters
max-code-length=80

# Preserve the file date and time
preserve-date