Debian Codegraph @

README.codestyle

raw
1 README.codestyle
2 ================
3
4 The indent style used by `fswatch` is a custom Allman (BSD) style. The code is
5 formatted using NetBeans with the following format settings:
6
7 Indents
8 Indent Size = 2
9 Expand Tabs to Spaces = true
10 Tab Size = 2
11 Statement Continuation = 2
12 Constructor Continuation = 2
13 Preprocessor Directive = Preprocessor
14 # at Start Line = true
15 Indent Namespaces = true
16 Indent Case Statements = false
17 Absolute Label Indentation = true
18 Indent Visibility = None
19 Keep Extra Spaces = false
20
21 Braces Placement
22 Namespace Declaration = New Line
23 Class Declaration = New Line
24 Function Declaration = New Line
25 Ignore Empty Function = false
26 Lambda = New Line
27 "switch" statement = New Line
28 Other = New Line
29
30 Multiline Alignment
31 Function Parameters = true
32 Function Call Arguments = true
33 Array Initializer = false
34 "for" Statement = true
35 "if" Condition = true
36 "while" Condition = true
37 Other Parenthesis = false
38
39 New Line
40 Function Name = false
41 "catch" = true
42 "else" = true
43 "while" = true
44
45 Spaces Before Keywords
46 "catch" = true
47 "else" = true
48 "while" = true
49
50 Spaces Before Parentheses
51 Function Declaration = false
52 Function Call = false
53 "catch" = true
54 "for" = true
55 "if" = true
56 "switch" = true
57 "while" = true
58 Other Keywords = true
59
60 Spaces Around Operators
61 Assignment Operators = true
62 Binary Operators = true
63 Ternary Operators = true
64 Unary Operators = false
65
66 Spaces Before Left Braces
67 Class Declaration = true
68 Function Declaration = true
69 Lambda = true
70 Array Initializer = false
71 "catch" = true
72 "do" = true
73 "else" = true
74 "for" = true
75 "if" = true
76 "switch" = true
77 "try" = true
78 "while" = true
79
80 Spaces Within Parentheses
81 Function Declaration = false
82 Function Call = false
83 Braces = false
84 Parentheses = false
85 "catch" = false
86 "for" = false
87 "if" = false
88 "switch" = false
89 Type Cast = false
90 "while" = false
91
92 Other Spaces
93 Before Comma = false
94 After Comma = true
95 Before Semicolon = false
96 After Semicolon = true
97 Before Colon = true
98 After Colon = true
99 After Type Cast = true
100 After operator Keyword = false
101
102 Blank Lines
103 Before Class = 1
104 After Class Header = 0
105 Before Function = 1
106
107 Other
108 Add Leading Star in = true
109 Toggle block comment = false
110 Insert 'inline' keyword = false