-
Notifications
You must be signed in to change notification settings - Fork 330
/
README.codestyle
110 lines (97 loc) · 2.46 KB
/
README.codestyle
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
README.codestyle
================
The indent style used by `fswatch` is a custom Allman (BSD) style. The code is
formatted using NetBeans with the following format settings:
Indents
Indent Size = 2
Expand Tabs to Spaces = true
Tab Size = 2
Statement Continuation = 2
Constructor Continuation = 2
Preprocessor Directive = Preprocessor
# at Start Line = true
Indent Namespaces = true
Indent Case Statements = false
Absolute Label Indentation = true
Indent Visibility = None
Keep Extra Spaces = false
Braces Placement
Namespace Declaration = New Line
Class Declaration = New Line
Function Declaration = New Line
Ignore Empty Function = false
Lambda = New Line
"switch" statement = New Line
Other = New Line
Multiline Alignment
Function Parameters = true
Function Call Arguments = true
Array Initializer = false
"for" Statement = true
"if" Condition = true
"while" Condition = true
Other Parenthesis = false
New Line
Function Name = false
"catch" = true
"else" = true
"while" = true
Spaces Before Keywords
"catch" = true
"else" = true
"while" = true
Spaces Before Parentheses
Function Declaration = false
Function Call = false
"catch" = true
"for" = true
"if" = true
"switch" = true
"while" = true
Other Keywords = true
Spaces Around Operators
Assignment Operators = true
Binary Operators = true
Ternary Operators = true
Unary Operators = false
Spaces Before Left Braces
Class Declaration = true
Function Declaration = true
Lambda = true
Array Initializer = false
"catch" = true
"do" = true
"else" = true
"for" = true
"if" = true
"switch" = true
"try" = true
"while" = true
Spaces Within Parentheses
Function Declaration = false
Function Call = false
Braces = false
Parentheses = false
"catch" = false
"for" = false
"if" = false
"switch" = false
Type Cast = false
"while" = false
Other Spaces
Before Comma = false
After Comma = true
Before Semicolon = false
After Semicolon = true
Before Colon = true
After Colon = true
After Type Cast = true
After operator Keyword = false
Blank Lines
Before Class = 1
After Class Header = 0
Before Function = 1
Other
Add Leading Star in = true
Toggle block comment = false
Insert 'inline' keyword = false