blob: 6374906fba2220c7cd7217227b028f80c66ae379 (
plain)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
[header]
categories="General|Operators|Functions, Classes and Objects|Control Structures|Arrays and Concatenation|Comments"
cfgFileParameterEnding=" "
configFilename=
fileTypes=*.php|*.phpt|*.phps
indenterFileName=phpStylist.php
indenterName=phpStylist (PHP)
inputFileName=indentinput
inputFileParameter=" "
manual=http://sourceforge.net/projects/phpstylist/
outputFileName=
outputFileParameter=stdout
parameterOrder=ipo
showHelpParameter="-- --help"
stringparaminquotes=false
useCfgFileParameter=
version=1.0
[Indent size]
CallName="--indent_size "
Category=0
Description="<html>Indent the code with the set number of spaces.</html>"
EditorType=numeric
Enabled=true
MaxVal=99
MinVal=0
ValueDefault=4
[Indent with tabs]
Category=0
Description="<html>Indent with tabs instead of spaces</html>"
EditorType=boolean
TrueFalse="--indent_with_tabs|"
ValueDefault=0
[Keep redundant lines]
Category=0
Description="<html>Keep redundant lines</html>"
EditorType=boolean
TrueFalse="--keep_redundant_lines|"
ValueDefault=0
[Space inside parentheses]
Category=0
Description="<html>Space inside parentheses</html>"
EditorType=boolean
TrueFalse="--space_inside_parentheses|"
ValueDefault=0
[Space outside parentheses]
Category=0
Description="<html>Space outside parentheses</html>"
EditorType=boolean
TrueFalse="--space_outside_parentheses|"
ValueDefault=0
[Space after comma]
Category=0
Description="<html>Space after comma</html>"
EditorType=boolean
TrueFalse="--space_after_comma|"
ValueDefault=0
[Space around assignment]
Category=1
Description="<html>Space around = .= += -= *= /= <<<</html>"
EditorType=boolean
TrueFalse="--space_around_assignment|"
ValueDefault=0
[Align block +3 assigned variables]
Category=1
Description="<html>Align block +3 assigned variables</html>"
EditorType=boolean
TrueFalse="--align_var_assignment|"
ValueDefault=0
[Space around comparison]
Category=1
Description="<html>Space around == === != !== > >= < <=</html>"
EditorType=boolean
TrueFalse="--space_around_comparison|"
ValueDefault=0
[Space around arithmetic]
Category=1
Description="<html>Space around - + * / %</html>"
EditorType=boolean
TrueFalse="--space_around_arithmetic|"
ValueDefault=0
[Space around logical]
Category=1
Description="<html>Space around && || AND OR XOR << >></html>"
EditorType=boolean
TrueFalse="--space_around_logical|"
ValueDefault=0
[Space around colon and question]
Category=1
Description="<html>Space around ? :</html>"
EditorType=boolean
TrueFalse="--space_around_colon_question|"
ValueDefault=0
[Blank line before keyword]
Category=2
Description="<html>Blank line before keyword</html>"
EditorType=boolean
TrueFalse="--line_before_function|"
ValueDefault=0
[Opening bracket on next line]
Category=2
Description="<html>Opening bracket on next line</html>"
EditorType=boolean
TrueFalse="--line_before_curly_function|"
ValueDefault=0
[Blank line below opening bracket]
Category=2
Description="<html>Blank line below opening bracket</html>"
EditorType=boolean
TrueFalse="--line_after_curly_function|"
ValueDefault=0
[Space around ->]
Category=2
Description="<html>Space around -></html>"
EditorType=boolean
TrueFalse="--space_around_obj_operator|"
ValueDefault=0
[Space around ::]
Category=2
Description="<html>Space around ::</html>"
EditorType=boolean
TrueFalse="--space_around_double_colon|"
ValueDefault=0
[Space before parentheses]
Category=3
Description="<html>Space between keyword and opening parentheses</html>"
EditorType=boolean
TrueFalse="--space_after_if|"
ValueDefault=0
[Keep else/elseif along with bracket]
Category=3
Description="<html>Keep else/elseif along with bracket</html>"
EditorType=boolean
TrueFalse="--else_along_curly|"
ValueDefault=0
[Opening bracket on next line]
Category=3
Description="<html>Opening bracket on next line</html>"
EditorType=boolean
TrueFalse="--line_before_curly|"
ValueDefault=0
[Add missing brackets]
Category=3
Description="<html>Add missing brackets to single line structs</html>"
EditorType=boolean
TrueFalse="--add_missing_braces|"
ValueDefault=0
[Blank line after case "break"]
Category=3
Description="<html>Blank line after case 'break'</html>"
EditorType=boolean
TrueFalse="--line_after_break|"
ValueDefault=0
[Space between "for" elements]
Category=3
Description="<html>Space between 'for' elements</html>"
EditorType=boolean
TrueFalse="--space_inside_for|"
ValueDefault=0
[Extra indent for "Case" and "Default"]
Category=3
Description="<html>Extra indent for 'Case' and 'Default'</html>"
EditorType=boolean
TrueFalse="--indent_case|"
ValueDefault=0
[Opening array parentheses on next line]
Category=4
Description="<html>Opening array parentheses on next line</html>"
EditorType=boolean
TrueFalse="--line_before_array|"
ValueDefault=0
[Non-empty arrays as vertical block]
Category=4
Description="<html>Non-empty arrays as vertical block</html>"
EditorType=boolean
TrueFalse="--vertical_array|"
ValueDefault=0
[Align block +3 assigned array elements]
Category=4
Description="<html>Align block +3 assigned array elements</html>"
EditorType=boolean
TrueFalse="--align_array_assignment|"
ValueDefault=0
[Space around double arrow]
Category=4
Description="<html>Space around double arrow</html>"
EditorType=boolean
TrueFalse="--space_around_double_arrow|"
ValueDefault=0
[Concatenation as vertical block]
Category=4
Description="<html>Concatenation as vertical block</html>"
EditorType=boolean
TrueFalse="--vertical_concat|"
ValueDefault=0
[Space around concat elements]
Category=4
Description="<html>Space around concat elements</html>"
EditorType=boolean
TrueFalse="--space_around_concat|"
ValueDefault=0
[Blank line before multi-line comment]
Category=5
Description="<html>Blank line before multi-line comment (/*)</html>"
EditorType=boolean
TrueFalse="--line_before_comment_multi|"
ValueDefault=0
[Blank line after multi-line comment]
Category=5
Description="<html>Blank line after multi-line comment (/*)</html>"
EditorType=boolean
TrueFalse="--line_after_comment_multi|"
ValueDefault=0
[Blank line before single line comments]
Category=5
Description="<html>Blank line before single line comments (//)</html>"
EditorType=boolean
TrueFalse="--line_before_comment|"
ValueDefault=0
[Blank line after single line comments]
Category=5
Description="<html>Blank line after single line comments (//)</html>"
EditorType=boolean
TrueFalse="--line_after_comment|"
ValueDefault=0
|