7 # The type of line endings
8 # WARNING: Best is not unique (auto lf)
9 newlines = auto # auto/lf/crlf/cr
11 # The original size of tabs in the input
12 input_tab_size = 8 # number
14 # The size of tabs in the output (only used if align_with_tabs=true)
15 output_tab_size = 8 # number
17 # The ASCII value of the string escape char, usually 92 (\) or 94 (^). (Pawn)
18 string_escape_char = 92 # number
20 # Alternate string escape char for Pawn. Only works right before the quote char.
21 # WARNING: Code doesn't seem to use this feature - delete from the config?
22 string_escape_char2 = 0 # number
28 # The number of columns to indent per level.
29 # Usually 2, 3, 4, or 8.
30 indent_columns = 8 # number
32 # The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
33 # For FreeBSD, this is set to 4.
34 indent_continue = 0 # number
36 # How to use tabs when indenting code
38 # 1=indent with tabs to brace level, align with spaces
39 # 2=indent and align with tabs, using spaces when not on a tabstop
40 indent_with_tabs = 1 # number #force
42 # Comments that are not a brace level are indented with tabs on a tabstop.
43 # Requires indent_with_tabs=2. If false, will use spaces.
44 indent_cmt_with_tabs = false # false/true
46 # Whether to indent strings broken by '\' so that they line up
47 # WARNING: Code doesn't seem to use this feature - delete from the config?
48 indent_align_string = false # false/true
50 # The number of spaces to indent multi-line XML strings.
51 # Requires indent_align_string=True
52 # WARNING: Code doesn't seem to use this feature - delete from the config?
53 indent_xml_string = 0 # number
55 # Spaces to indent '{' from level
56 indent_brace = 0 # number
58 # Whether braces are indented to the body level
59 indent_braces = false # false/true
61 # Disabled indenting function braces if indent_braces is true
62 # WARNING: Code doesn't seem to use this feature - delete from the config?
63 indent_braces_no_func = false # false/true
65 # Disabled indenting class braces if indent_braces is true
66 # WARNING: Code doesn't seem to use this feature - delete from the config?
67 indent_braces_no_class = false # false/true
69 # Disabled indenting struct braces if indent_braces is true
70 # WARNING: Code doesn't seem to use this feature - delete from the config?
71 indent_braces_no_struct = false # false/true
73 # Indent based on the size of the brace parent, i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
74 indent_brace_parent = false # false/true
76 # Whether the 'namespace' body is indented
77 # WARNING: Code doesn't seem to use this feature - delete from the config?
78 indent_namespace = false # false/true
80 # The number of spaces to indent a namespace block
81 # WARNING: Code doesn't seem to use this feature - delete from the config?
82 indent_namespace_level = 0 # number
84 # If the body of the namespace is longer than this number, it won't be indented.
85 # Requires indent_namespace=true. Default=0 (no limit)
86 # WARNING: Code doesn't seem to use this feature - delete from the config?
87 indent_namespace_limit = 0 # number
89 # Whether the 'extern "C"' body is indented
90 # WARNING: Code doesn't seem to use this feature - delete from the config?
91 indent_extern = false # false/true
93 # Whether the 'class' body is indented
94 # WARNING: Code doesn't seem to use this feature - delete from the config?
95 indent_class = false # false/true
97 # Whether to indent the stuff after a leading class colon
98 # WARNING: Code doesn't seem to use this feature - delete from the config?
99 indent_class_colon = false # false/true
101 # False=treat 'else\nif' as 'else if' for indenting purposes
102 # True=indent the 'if' one level
103 # WARNING: Code doesn't seem to use this feature - delete from the config?
104 indent_else_if = false # false/true
106 # Amount to indent variable declarations after a open brace. neg=relative, pos=absolute
107 indent_var_def_blk = 0 # number
109 # Indent continued variable declarations instead of aligning.
110 # WARNING: Code doesn't seem to use this feature - delete from the config?
111 indent_var_def_cont = false # false/true
113 # True: indent continued function call parameters one indent level
114 # False: align parameters under the open paren
115 indent_func_call_param = true # false/true
117 # Same as indent_func_call_param, but for function defs
118 # WARNING: Code doesn't seem to use this feature - delete from the config?
119 indent_func_def_param = false # false/true
121 # Same as indent_func_call_param, but for function protos
122 # WARNING: Code doesn't seem to use this feature - delete from the config?
123 indent_func_proto_param = false # false/true
125 # Same as indent_func_call_param, but for class declarations
126 # WARNING: Code doesn't seem to use this feature - delete from the config?
127 indent_func_class_param = false # false/true
129 # Same as indent_func_call_param, but for class variable constructors
130 # WARNING: Code doesn't seem to use this feature - delete from the config?
131 indent_func_ctor_var_param = false # false/true
133 # Same as indent_func_call_param, but for templates
134 # WARNING: Code doesn't seem to use this feature - delete from the config?
135 indent_template_param = false # false/true
137 # Double the indent for indent_func_xxx_param options
138 indent_func_param_double = false # false/true
140 # Indentation column for standalone 'const' function decl/proto qualifier
141 # WARNING: Code doesn't seem to use this feature - delete from the config?
142 indent_func_const = 0 # number
144 # Indentation column for standalone 'throw' function decl/proto qualifier
145 # WARNING: Code doesn't seem to use this feature - delete from the config?
146 indent_func_throw = 0 # number
148 # The number of spaces to indent a continued '->' or '.'
149 # Usually set to 0, 1, or indent_columns.
150 # WARNING: Code doesn't seem to use this feature - delete from the config?
151 indent_member = 0 # number
153 # Spaces to indent single line ('//') comments on lines before code
154 indent_sing_line_comments = 0 # number
156 # If set, will indent trailing single line ('//') comments relative
157 # to the code instead of trying to keep the same absolute column
158 indent_relative_single_line_comments = true # false/true #force
160 # Spaces to indent 'case' from 'switch'
161 # Usually 0 or indent_columns.
162 indent_switch_case = indent_columns # number
164 # Spaces to shift the 'case' line, without affecting any other lines
166 indent_case_shift = 0 # number
168 # Spaces to indent '{' from 'case'.
169 # By default, the brace will appear under the 'c' in case.
170 # Usually set to 0 or indent_columns.
171 indent_case_brace = 0 # number
173 # Whether to indent comments found in first column
174 indent_col1_comment = false # false/true
176 # How to indent goto labels
177 # >0 : absolute column where 1 is the leftmost column
178 # <=0 : subtract from brace indent
179 # WARNING: Code doesn't seem to use this feature - delete from the config?
180 indent_label = 0 # number
182 # Same as indent_label, but for access specifiers that are followed by a colon
183 # WARNING: Code doesn't seem to use this feature - delete from the config?
184 indent_access_spec = 0 # number
186 # Indent the code after an access specifier by one level.
187 # If set, this option forces 'indent_access_spec=0'
188 # WARNING: Code doesn't seem to use this feature - delete from the config?
189 indent_access_spec_body = false # false/true
191 # If an open paren is followed by a newline, indent the next line so that it lines up after the open paren (not recommended)
192 # WARNING: Code doesn't seem to use this feature - delete from the config?
193 indent_paren_nl = false # false/true
195 # Controls the indent of a close paren after a newline.
196 # 0: Indent to body level
197 # 1: Align under the open paren
198 # 2: Indent to the brace level
199 indent_paren_close = 1 # number #force
201 # Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren
202 # WARNING: Code doesn't seem to use this feature - delete from the config?
203 indent_comma_paren = false # false/true
205 # Controls the indent of a BOOL operator when inside a paren.If TRUE, aligns under the open paren
206 # WARNING: Code doesn't seem to use this feature - delete from the config?
207 indent_bool_paren = false # false/true
209 # If 'indent_bool_paren' is true, controls the indent of the first expression. If TRUE, aligns the first expression to the following ones
210 # WARNING: Code doesn't seem to use this feature - delete from the config?
211 indent_first_bool_expr = false # false/true
213 # If an open square is followed by a newline, indent the next line so that it lines up after the open square (not recommended)
214 # WARNING: Code doesn't seem to use this feature - delete from the config?
215 indent_square_nl = false # false/true
217 # Don't change the relative indent of ESQL/C 'EXEC SQL' bodies
218 # WARNING: Code doesn't seem to use this feature - delete from the config?
219 indent_preserve_sql = false # false/true
221 # Align continued statements at the '='. Default=True
222 # If FALSE or the '=' is followed by a newline, the next line is indent one tab.
223 indent_align_assign = true # false/true
229 # Add or remove space around arithmetic operator '+', '-', '/', '*', etc
230 # NOTE: is 518 worse than ignore
231 sp_arith = add # ignore/add/remove/force
233 # Add or remove space around assignment operator '=', '+=', etc
234 # NOTE: is 4 worse than ignore
235 sp_assign = add # ignore/add/remove/force
237 # Add or remove space around assignment operator '=' in a prototype
238 # WARNING: Code doesn't seem to use this feature - delete from the config?
239 sp_assign_default = ignore # ignore/add/remove/force
241 # # Add or remove space before assignment operator '=', '+=', etc. Overrides sp_assign.
242 # sp_before_assign = ignore # ignore/add/remove/force
244 # # Add or remove space after assignment operator '=', '+=', etc. Overrides sp_assign.
245 # sp_after_assign = ignore # ignore/add/remove/force
247 # Add or remove space around assignment '=' in enum
248 # WARNING: Code doesn't seem to use this feature - delete from the config?
249 sp_enum_assign = ignore # ignore/add/remove/force
251 # # Add or remove space before assignment '=' in enum. Overrides sp_enum_assign.
252 # sp_enum_before_assign = ignore # ignore/add/remove/force
254 # # Add or remove space after assignment '=' in enum. Overrides sp_enum_assign.
255 # sp_enum_after_assign = ignore # ignore/add/remove/force
257 # Add or remove space around preprocessor '##' concatenation operator. Default=Add
258 # NOTE: is 2 worse than ignore
259 sp_pp_concat = remove # ignore/add/remove/force
261 # Add or remove space after preprocessor '#' stringify operator. Also affects the '#@' charizing operator. Default=Add
262 sp_pp_stringify = remove # ignore/add/remove/force
264 # Add or remove space around boolean operators '&&' and '||'
265 sp_bool = add # ignore/add/remove/force
267 # Add or remove space around compare operator '<', '>', '==', etc
268 # NOTE: is 4 worse than ignore
269 sp_compare = add # ignore/add/remove/force
271 # Add or remove space inside '(' and ')'
272 # NOTE: is 2 worse than ignore
273 sp_inside_paren = remove # ignore/add/remove/force
275 # Add or remove space between nested parens
276 sp_paren_paren = remove # ignore/add/remove/force
278 # Whether to balance spaces inside nested parens
279 sp_balance_nested_parens = false # false/true
281 # Add or remove space between ')' and '{'
282 # WARNING: Code doesn't seem to use this feature - delete from the config?
283 sp_paren_brace = ignore # ignore/add/remove/force
285 # Add or remove space before pointer star '*'
286 sp_before_ptr_star = add # ignore/add/remove/force
288 # Add or remove space before pointer star '*' that isn't followed by a variable name
289 # If set to 'ignore', sp_before_ptr_star is used instead.
290 sp_before_unnamed_ptr_star = add # ignore/add/remove/force
292 # Add or remove space between pointer stars '*'
293 # WARNING: Code doesn't seem to use this feature - delete from the config?
294 sp_between_ptr_star = ignore # ignore/add/remove/force
296 # Add or remove space after pointer star '*', if followed by a word.
297 sp_after_ptr_star = add # ignore/add/remove/force
299 # Add or remove space after a pointer star '*', if followed by a func proto/def.
300 sp_after_ptr_star_func = add # ignore/add/remove/force
302 # Add or remove space before a pointer star '*', if followed by a func proto/def.
303 sp_before_ptr_star_func = add # ignore/add/remove/force
305 # Add or remove space before a reference sign '&'
306 # WARNING: Code doesn't seem to use this feature - delete from the config?
307 sp_before_byref = ignore # ignore/add/remove/force
309 # Add or remove space before a reference sign '&' that isn't followed by a variable name
310 # If set to 'ignore', sp_before_byref is used instead.
311 # WARNING: Code doesn't seem to use this feature - delete from the config?
312 sp_before_unnamed_byref = ignore # ignore/add/remove/force
314 # Add or remove space after reference sign '&', if followed by a word.
315 # WARNING: Code doesn't seem to use this feature - delete from the config?
316 sp_after_byref = ignore # ignore/add/remove/force
318 # Add or remove space after a reference sign '&', if followed by a func proto/def.
319 # WARNING: Code doesn't seem to use this feature - delete from the config?
320 sp_after_byref_func = ignore # ignore/add/remove/force
322 # Add or remove space before a reference sign '&', if followed by a func proto/def.
323 # WARNING: Code doesn't seem to use this feature - delete from the config?
324 sp_before_byref_func = ignore # ignore/add/remove/force
326 # Add or remove space between type and word. Default=Force
327 sp_after_type = add # ignore/add/remove/force
329 # Add or remove space in 'template <' vs 'template<'.
330 # If set to ignore, sp_before_angle is used.
331 # WARNING: Code doesn't seem to use this feature - delete from the config?
332 sp_template_angle = ignore # ignore/add/remove/force
334 # Add or remove space before '<>'
335 # WARNING: Code doesn't seem to use this feature - delete from the config?
336 sp_before_angle = ignore # ignore/add/remove/force
338 # Add or remove space inside '<' and '>'
339 # WARNING: Code doesn't seem to use this feature - delete from the config?
340 sp_inside_angle = ignore # ignore/add/remove/force
342 # Add or remove space after '<>'
343 # WARNING: Code doesn't seem to use this feature - delete from the config?
344 sp_after_angle = ignore # ignore/add/remove/force
346 # Add or remove space between '<>' and '(' as found in 'new List<byte>();'
347 # WARNING: Code doesn't seem to use this feature - delete from the config?
348 sp_angle_paren = ignore # ignore/add/remove/force
350 # Add or remove space between '<>' and a word as in 'List<byte> m;'
351 # WARNING: Code doesn't seem to use this feature - delete from the config?
352 sp_angle_word = ignore # ignore/add/remove/force
354 # Add or remove space between '>' and '>' in '>>' (template stuff C++/C# only). Default=Add
355 # WARNING: Code doesn't seem to use this feature - delete from the config?
356 sp_angle_shift = ignore # ignore/add/remove/force
358 # Add or remove space before '(' of 'if', 'for', 'switch', and 'while'
359 # NOTE: is 734 worse than ignore
360 sp_before_sparen = remove # ignore/add/remove/force
362 # Add or remove space inside if-condition '(' and ')'
363 # NOTE: is 14 worse than ignore
364 sp_inside_sparen = remove # ignore/add/remove/force
366 # # Add or remove space before if-condition ')'. Overrides sp_inside_sparen.
367 # sp_inside_sparen_close = ignore # ignore/add/remove/force
369 # Add or remove space after ')' of 'if', 'for', 'switch', and 'while'
370 # WARNING: Code doesn't seem to use this feature - delete from the config?
371 sp_after_sparen = ignore # ignore/add/remove/force
373 # Add or remove space between ')' and '{' of 'if', 'for', 'switch', and 'while'
374 # WARNING: Code doesn't seem to use this feature - delete from the config?
375 sp_sparen_brace = ignore # ignore/add/remove/force
377 # Add or remove space between 'invariant' and '(' in the D language.
378 # WARNING: Code doesn't seem to use this feature - delete from the config?
379 sp_invariant_paren = ignore # ignore/add/remove/force
381 # Add or remove space after the ')' in 'invariant (C) c' in the D language.
382 # WARNING: Code doesn't seem to use this feature - delete from the config?
383 sp_after_invariant_paren = ignore # ignore/add/remove/force
385 # Add or remove space before empty statement ';' on 'if', 'for' and 'while'
386 # WARNING: Code doesn't seem to use this feature - delete from the config?
387 sp_special_semi = ignore # ignore/add/remove/force
389 # Add or remove space before ';'. Default=Remove
390 sp_before_semi = remove # ignore/add/remove/force
392 # Add or remove space before ';' in non-empty 'for' statements
393 sp_before_semi_for = remove # ignore/add/remove/force
395 # Add or remove space before a semicolon of an empty part of a for statement.
396 sp_before_semi_for_empty = add # ignore/add/remove/force
398 # Add or remove space after ';', except when followed by a comment. Default=Add
399 # NOTE: is 60 worse than ignore
400 sp_after_semi = add # ignore/add/remove/force
402 # Add or remove space after ';' in non-empty 'for' statements. Default=Force
403 sp_after_semi_for = add # ignore/add/remove/force
405 # Add or remove space after the final semicolon of an empty part of a for statement: for ( ; ; <here> ).
406 sp_after_semi_for_empty = add # ignore/add/remove/force
408 # Add or remove space before '[' (except '[]')
409 sp_before_square = remove # ignore/add/remove/force
411 # Add or remove space before '[]'
412 # WARNING: Code doesn't seem to use this feature - delete from the config?
413 sp_before_squares = ignore # ignore/add/remove/force
415 # Add or remove space inside '[' and ']'
416 sp_inside_square = remove # ignore/add/remove/force
418 # Add or remove space after ','
419 # NOTE: is 48 worse than ignore
420 sp_after_comma = add # ignore/add/remove/force
422 # Add or remove space before ','
423 sp_before_comma = remove # ignore/add/remove/force
425 # Add or remove space between an open paren and comma: '(,' vs '( ,'
426 # WARNING: Code doesn't seem to use this feature - delete from the config?
427 sp_paren_comma = ignore # ignore/add/remove/force
429 # Add or remove space before the variadic '...' when preceded by a non-punctuator
430 # WARNING: Code doesn't seem to use this feature - delete from the config?
431 sp_before_ellipsis = ignore # ignore/add/remove/force
433 # Add or remove space after class ':'
434 # WARNING: Code doesn't seem to use this feature - delete from the config?
435 sp_after_class_colon = ignore # ignore/add/remove/force
437 # Add or remove space before class ':'
438 # WARNING: Code doesn't seem to use this feature - delete from the config?
439 sp_before_class_colon = ignore # ignore/add/remove/force
441 # Add or remove space before case ':'. Default=Remove
442 sp_before_case_colon = remove # ignore/add/remove/force
444 # Add or remove space between 'operator' and operator sign
445 # WARNING: Code doesn't seem to use this feature - delete from the config?
446 sp_after_operator = ignore # ignore/add/remove/force
448 # Add or remove space between the operator symbol and the open paren, as in 'operator ++('
449 # WARNING: Code doesn't seem to use this feature - delete from the config?
450 sp_after_operator_sym = ignore # ignore/add/remove/force
452 # Add or remove space after C/D cast, i.e. 'cast(int)a' vs 'cast(int) a' or '(int)a' vs '(int) a'
453 # WARNING: Code doesn't seem to use this feature - delete from the config?
454 sp_after_cast = ignore # ignore/add/remove/force
456 # Add or remove spaces inside cast parens
457 # WARNING: Code doesn't seem to use this feature - delete from the config?
458 sp_inside_paren_cast = ignore # ignore/add/remove/force
460 # Add or remove space between the type and open paren in a C++ cast, i.e. 'int(exp)' vs 'int (exp)'
461 # WARNING: Code doesn't seem to use this feature - delete from the config?
462 sp_cpp_cast_paren = ignore # ignore/add/remove/force
464 # Add or remove space between 'sizeof' and '('
465 # WARNING: Code doesn't seem to use this feature - delete from the config?
466 sp_sizeof_paren = ignore # ignore/add/remove/force
468 # Add or remove space after the tag keyword (Pawn)
469 # WARNING: Code doesn't seem to use this feature - delete from the config?
470 sp_after_tag = ignore # ignore/add/remove/force
472 # Add or remove space inside enum '{' and '}'
473 # WARNING: Code doesn't seem to use this feature - delete from the config?
474 sp_inside_braces_enum = ignore # ignore/add/remove/force
476 # Add or remove space inside struct/union '{' and '}'
477 # WARNING: Code doesn't seem to use this feature - delete from the config?
478 sp_inside_braces_struct = ignore # ignore/add/remove/force
480 # Add or remove space inside '{' and '}'
481 sp_inside_braces = add # ignore/add/remove/force
483 # Add or remove space inside '{}'
484 # WARNING: Code doesn't seem to use this feature - delete from the config?
485 sp_inside_braces_empty = ignore # ignore/add/remove/force
487 # Add or remove space between return type and function name
488 # A minimum of 1 is forced except for pointer return types.
489 # WARNING: Code doesn't seem to use this feature - delete from the config?
490 sp_type_func = ignore # ignore/add/remove/force
492 # Add or remove space between function name and '(' on function declaration
493 sp_func_proto_paren = remove # ignore/add/remove/force
495 # Add or remove space between function name and '(' on function definition
496 # NOTE: is 14 worse than ignore
497 sp_func_def_paren = remove # ignore/add/remove/force
499 # Add or remove space inside empty function '()'
500 sp_inside_fparens = remove # ignore/add/remove/force
502 # Add or remove space inside function '(' and ')'
503 # NOTE: is 8 worse than ignore
504 sp_inside_fparen = remove # ignore/add/remove/force
506 # Add or remove space between ']' and '(' when part of a function call.
507 # WARNING: Code doesn't seem to use this feature - delete from the config?
508 sp_square_fparen = ignore # ignore/add/remove/force
510 # Add or remove space between ')' and '{' of function
511 # WARNING: Code doesn't seem to use this feature - delete from the config?
512 sp_fparen_brace = ignore # ignore/add/remove/force
514 # Add or remove space between function name and '(' on function calls
515 # NOTE: is 28 worse than ignore
516 sp_func_call_paren = remove # ignore/add/remove/force
518 # Add or remove space between function name and '()' on function calls without parameters.
519 # If set to 'ignore' (the default), sp_func_call_paren is used.
520 sp_func_call_paren_empty = remove # ignore/add/remove/force
522 # Add or remove space between the user function name and '(' on function calls
523 # You need to set a keyword to be a user function, like this: 'set func_call_user _' in the config file.
524 sp_func_call_user_paren = remove # ignore/add/remove/force
526 # Add or remove space between a constructor/destructor and the open paren
527 # WARNING: Code doesn't seem to use this feature - delete from the config?
528 sp_func_class_paren = ignore # ignore/add/remove/force
530 # Add or remove space between 'return' and '('
531 # WARNING: Code doesn't seem to use this feature - delete from the config?
532 sp_return_paren = ignore # ignore/add/remove/force
534 # Add or remove space between '__attribute__' and '('
535 # WARNING: Code doesn't seem to use this feature - delete from the config?
536 sp_attribute_paren = ignore # ignore/add/remove/force
538 # Add or remove space between 'defined' and '(' in '#if defined (FOO)'
539 # WARNING: Code doesn't seem to use this feature - delete from the config?
540 sp_defined_paren = ignore # ignore/add/remove/force
542 # Add or remove space between 'throw' and '(' in 'throw (something)'
543 # WARNING: Code doesn't seem to use this feature - delete from the config?
544 sp_throw_paren = ignore # ignore/add/remove/force
546 # Add or remove space between macro and value
547 sp_macro = remove # ignore/add/remove/force #force
549 # Add or remove space between macro function ')' and value
550 # WARNING: Code doesn't seem to use this feature - delete from the config?
551 sp_macro_func = ignore # ignore/add/remove/force
553 # Add or remove space between 'else' and '{' if on the same line
554 sp_else_brace = add # ignore/add/remove/force
556 # Add or remove space between '}' and 'else' if on the same line
557 # WARNING: Code doesn't seem to use this feature - delete from the config?
558 sp_brace_else = ignore # ignore/add/remove/force
560 # Add or remove space between '}' and the name of a typedef on the same line
561 # WARNING: Code doesn't seem to use this feature - delete from the config?
562 sp_brace_typedef = ignore # ignore/add/remove/force
564 # Add or remove space between 'catch' and '{' if on the same line
565 # WARNING: Code doesn't seem to use this feature - delete from the config?
566 sp_catch_brace = ignore # ignore/add/remove/force
568 # Add or remove space between '}' and 'catch' if on the same line
569 # WARNING: Code doesn't seem to use this feature - delete from the config?
570 sp_brace_catch = ignore # ignore/add/remove/force
572 # Add or remove space between 'finally' and '{' if on the same line
573 # WARNING: Code doesn't seem to use this feature - delete from the config?
574 sp_finally_brace = ignore # ignore/add/remove/force
576 # Add or remove space between '}' and 'finally' if on the same line
577 # WARNING: Code doesn't seem to use this feature - delete from the config?
578 sp_brace_finally = ignore # ignore/add/remove/force
580 # Add or remove space between 'try' and '{' if on the same line
581 # WARNING: Code doesn't seem to use this feature - delete from the config?
582 sp_try_brace = ignore # ignore/add/remove/force
584 # Add or remove space between get/set and '{' if on the same line
585 # WARNING: Code doesn't seem to use this feature - delete from the config?
586 sp_getset_brace = ignore # ignore/add/remove/force
588 # Add or remove space before the '::' operator
589 # WARNING: Code doesn't seem to use this feature - delete from the config?
590 sp_before_dc = ignore # ignore/add/remove/force
592 # Add or remove space after the '::' operator
593 # WARNING: Code doesn't seem to use this feature - delete from the config?
594 sp_after_dc = ignore # ignore/add/remove/force
596 # Add or remove around the D named array initializer ':' operator
597 # WARNING: Code doesn't seem to use this feature - delete from the config?
598 sp_d_array_colon = ignore # ignore/add/remove/force
600 # Add or remove space after the '!' (not) operator. Default=Remove
601 sp_not = remove # ignore/add/remove/force
603 # Add or remove space after the '~' (invert) operator. Default=Remove
604 sp_inv = remove # ignore/add/remove/force
606 # Add or remove space after the '&' (address-of) operator. Default=Remove
607 # This does not affect the spacing after a '&' that is part of a type.
608 # WARNING: Code doesn't seem to use this feature - delete from the config?
609 sp_addr = ignore # ignore/add/remove/force
611 # Add or remove space around the '.' or '->' operators. Default=Remove
612 # NOTE: is 4 worse than ignore
613 sp_member = remove # ignore/add/remove/force
615 # Add or remove space after the '*' (dereference) operator. Default=Remove
616 # This does not affect the spacing after a '*' that is part of a type.
617 # WARNING: Code doesn't seem to use this feature - delete from the config?
618 sp_deref = ignore # ignore/add/remove/force
620 # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'. Default=Remove
621 # NOTE: is 2 worse than ignore
622 sp_sign = remove # ignore/add/remove/force
624 # Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'. Default=Remove
625 sp_incdec = remove # ignore/add/remove/force
627 # Add or remove space before a backslash-newline at the end of a line. Default=Add
628 sp_before_nl_cont = add # ignore/add/remove/force #force
630 # Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
631 # WARNING: Code doesn't seem to use this feature - delete from the config?
632 sp_after_oc_scope = ignore # ignore/add/remove/force
634 # Add or remove space after the colon in message specs
635 # '-(int) f:(int) x;' vs '-(int) f: (int) x;'
636 # WARNING: Code doesn't seem to use this feature - delete from the config?
637 sp_after_oc_colon = ignore # ignore/add/remove/force
639 # Add or remove space before the colon in message specs
640 # '-(int) f: (int) x;' vs '-(int) f : (int) x;'
641 # WARNING: Code doesn't seem to use this feature - delete from the config?
642 sp_before_oc_colon = ignore # ignore/add/remove/force
644 # Add or remove space after the colon in message specs
645 # '[object setValue:1];' vs '[object setValue: 1];'
646 # WARNING: Code doesn't seem to use this feature - delete from the config?
647 sp_after_send_oc_colon = ignore # ignore/add/remove/force
649 # Add or remove space before the colon in message specs
650 # '[object setValue:1];' vs '[object setValue :1];'
651 # WARNING: Code doesn't seem to use this feature - delete from the config?
652 sp_before_send_oc_colon = ignore # ignore/add/remove/force
654 # Add or remove space after the (type) in message specs
655 # '-(int)f: (int) x;' vs '-(int)f: (int)x;'
656 # WARNING: Code doesn't seem to use this feature - delete from the config?
657 sp_after_oc_type = ignore # ignore/add/remove/force
659 # Add or remove space after the first (type) in message specs
660 # '-(int) f:(int)x;' vs '-(int)f:(int)x;'
661 # WARNING: Code doesn't seem to use this feature - delete from the config?
662 sp_after_oc_return_type = ignore # ignore/add/remove/force
664 # Add or remove space between '@selector' and '('
665 # '@selector(msgName)' vs '@selector (msgName)'
666 # Also applies to @protocol() constructs
667 # WARNING: Code doesn't seem to use this feature - delete from the config?
668 sp_after_oc_at_sel = ignore # ignore/add/remove/force
670 # Add or remove space between '@selector(x)' and the following word
671 # '@selector(foo) a:' vs '@selector(foo)a:'
672 # WARNING: Code doesn't seem to use this feature - delete from the config?
673 sp_after_oc_at_sel_parens = ignore # ignore/add/remove/force
675 # Add or remove space inside '@selector' parens
676 # '@selector(foo)' vs '@selector( foo )'
677 # Also applies to @protocol() constructs
678 # WARNING: Code doesn't seem to use this feature - delete from the config?
679 sp_inside_oc_at_sel_parens = ignore # ignore/add/remove/force
681 # Add or remove space before a block pointer caret
682 # '^int (int arg){...}' vs. ' ^int (int arg){...}'
683 # WARNING: Code doesn't seem to use this feature - delete from the config?
684 sp_before_oc_block_caret = ignore # ignore/add/remove/force
686 # Add or remove space after a block pointer caret
687 # '^int (int arg){...}' vs. '^ int (int arg){...}'
688 # WARNING: Code doesn't seem to use this feature - delete from the config?
689 sp_after_oc_block_caret = ignore # ignore/add/remove/force
691 # Add or remove space around the ':' in 'b ? t : f'
692 sp_cond_colon = add # ignore/add/remove/force
694 # Add or remove space around the '?' in 'b ? t : f'
695 sp_cond_question = add # ignore/add/remove/force
697 # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
698 # WARNING: Code doesn't seem to use this feature - delete from the config?
699 sp_case_label = ignore # ignore/add/remove/force
701 # Control the space around the D '..' operator.
702 # WARNING: Code doesn't seem to use this feature - delete from the config?
703 sp_range = ignore # ignore/add/remove/force
705 # Control the space after the opening of a C++ comment '// A' vs '//A'
706 # NOTE: is 246 worse than ignore
707 sp_cmt_cpp_start = add # ignore/add/remove/force
709 # Controls the spaces between #else or #endif and a trailing comment
710 # WARNING: Code doesn't seem to use this feature - delete from the config?
711 sp_endif_cmt = ignore # ignore/add/remove/force
714 # Code alignment (not left column spaces/tabs)
717 # Whether to keep non-indenting tabs
718 align_keep_tabs = false # false/true #force
720 # Whether to use tabs for aligning
721 # WARNING: Code doesn't seem to use this feature - delete from the config?
722 align_with_tabs = false # false/true
724 # Whether to bump out to the next tab when aligning
725 # WARNING: Code doesn't seem to use this feature - delete from the config?
726 align_on_tabstop = false # false/true
728 # Whether to left-align numbers
729 # WARNING: Code doesn't seem to use this feature - delete from the config?
730 align_number_left = false # false/true
732 # Align variable definitions in prototypes and functions
733 # WARNING: Code doesn't seem to use this feature - delete from the config?
734 align_func_params = false # false/true
736 # Align parameters in single-line functions that have the same name.
737 # The function names must already be aligned with each other.
738 align_same_func_call_params = false # false/true
740 # The span for aligning variable definitions (0=don't align)
741 align_var_def_span = 0 # number
743 # How to align the star in variable definitions.
744 # 0=Part of the type 'void * foo;'
745 # 1=Part of the variable 'void *foo;'
746 # 2=Dangling 'void *foo;'
747 # WARNING: Code doesn't seem to use this feature - delete from the config?
748 align_var_def_star_style = 0 # number
750 # How to align the '&' in variable definitions.
752 # 1=Part of the variable
754 # WARNING: Code doesn't seem to use this feature - delete from the config?
755 align_var_def_amp_style = 0 # number
757 # The threshold for aligning variable definitions (0=no limit)
758 # WARNING: Code doesn't seem to use this feature - delete from the config?
759 align_var_def_thresh = 0 # number
761 # The gap for aligning variable definitions
762 # WARNING: Code doesn't seem to use this feature - delete from the config?
763 align_var_def_gap = 0 # number
765 # Whether to align the colon in struct bit fields
766 # WARNING: Code doesn't seem to use this feature - delete from the config?
767 align_var_def_colon = false # false/true
769 # Whether to align any attribute after the variable name
770 # WARNING: Code doesn't seem to use this feature - delete from the config?
771 align_var_def_attribute = false # false/true
773 # Whether to align inline struct/enum/union variable definitions
774 # WARNING: Code doesn't seem to use this feature - delete from the config?
775 align_var_def_inline = false # false/true
777 # The span for aligning on '=' in assignments (0=don't align)
778 align_assign_span = 0 # number
780 # The threshold for aligning on '=' in assignments (0=no limit)
781 # WARNING: Code doesn't seem to use this feature - delete from the config?
782 align_assign_thresh = 0 # number
784 # The span for aligning on '=' in enums (0=don't align)
785 # WARNING: Code doesn't seem to use this feature - delete from the config?
786 align_enum_equ_span = 0 # number
788 # The threshold for aligning on '=' in enums (0=no limit)
789 # WARNING: Code doesn't seem to use this feature - delete from the config?
790 align_enum_equ_thresh = 0 # number
792 # The span for aligning struct/union (0=don't align)
793 align_var_struct_span = 0 # number
795 # The threshold for aligning struct/union member definitions (0=no limit)
796 # WARNING: Code doesn't seem to use this feature - delete from the config?
797 align_var_struct_thresh = 0 # number
799 # The gap for aligning struct/union member definitions
800 # WARNING: Code doesn't seem to use this feature - delete from the config?
801 align_var_struct_gap = 0 # number
803 # The span for aligning struct initializer values (0=don't align)
804 # WARNING: Code doesn't seem to use this feature - delete from the config?
805 align_struct_init_span = 0 # number
807 # The minimum space between the type and the synonym of a typedef
808 # WARNING: Code doesn't seem to use this feature - delete from the config?
809 align_typedef_gap = 0 # number
811 # The span for aligning single-line typedefs (0=don't align)
812 # WARNING: Code doesn't seem to use this feature - delete from the config?
813 align_typedef_span = 0 # number
815 # How to align typedef'd functions with other typedefs
816 # 0: Don't mix them at all
817 # 1: align the open paren with the types
818 # 2: align the function type name with the other type names
819 # WARNING: Code doesn't seem to use this feature - delete from the config?
820 align_typedef_func = 0 # number
822 # Controls the positioning of the '*' in typedefs. Just try it.
823 # 0: Align on typedef type, ignore '*'
824 # 1: The '*' is part of type name: typedef int *pint;
825 # 2: The '*' is part of the type, but dangling: typedef int *pint;
826 # WARNING: Code doesn't seem to use this feature - delete from the config?
827 align_typedef_star_style = 0 # number
829 # Controls the positioning of the '&' in typedefs. Just try it.
830 # 0: Align on typedef type, ignore '&'
831 # 1: The '&' is part of type name: typedef int &pint;
832 # 2: The '&' is part of the type, but dangling: typedef int &pint;
833 # WARNING: Code doesn't seem to use this feature - delete from the config?
834 align_typedef_amp_style = 0 # number
836 # The span for aligning comments that end lines (0=don't align)
837 align_right_cmt_span = 0 # number
839 # If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment
840 # WARNING: Code doesn't seem to use this feature - delete from the config?
841 align_right_cmt_mix = false # false/true
843 # If a trailing comment is more than this number of columns away from the text it follows,
844 # it will qualify for being aligned. This has to be > 0 to do anything.
845 # WARNING: Code doesn't seem to use this feature - delete from the config?
846 align_right_cmt_gap = 0 # number
848 # Align trailing comment at or beyond column N; 'pulls in' comments as a bonus side effect (0=ignore)
849 # WARNING: Code doesn't seem to use this feature - delete from the config?
850 align_right_cmt_at_col = 0 # number
852 # The span for aligning function prototypes (0=don't align)
853 align_func_proto_span = 0 # number
855 # Minimum gap between the return type and the function name.
856 # WARNING: Code doesn't seem to use this feature - delete from the config?
857 align_func_proto_gap = 0 # number
859 # Align function protos on the 'operator' keyword instead of what follows
860 # WARNING: Code doesn't seem to use this feature - delete from the config?
861 align_on_operator = false # false/true
863 # Whether to mix aligning prototype and variable declarations.
864 # If true, align_var_def_XXX options are used instead of align_func_proto_XXX options.
865 # WARNING: Code doesn't seem to use this feature - delete from the config?
866 align_mix_var_proto = false # false/true
868 # Align single-line functions with function prototypes, uses align_func_proto_span
869 # WARNING: Code doesn't seem to use this feature - delete from the config?
870 align_single_line_func = false # false/true
872 # Aligning the open brace of single-line functions.
873 # Requires align_single_line_func=true, uses align_func_proto_span
874 # WARNING: Code doesn't seem to use this feature - delete from the config?
875 align_single_line_brace = false # false/true
877 # Gap for align_single_line_brace.
878 # WARNING: Code doesn't seem to use this feature - delete from the config?
879 align_single_line_brace_gap = 0 # number
881 # The span for aligning ObjC msg spec (0=don't align)
882 # WARNING: Code doesn't seem to use this feature - delete from the config?
883 align_oc_msg_spec_span = 0 # number
885 # Whether to align macros wrapped with a backslash and a newline.
886 # This will not work right if the macro contains a multi-line comment.
887 align_nl_cont = false # false/true
889 # The minimum space between label and value of a preprocessor define
890 # WARNING: Code doesn't seem to use this feature - delete from the config?
891 align_pp_define_gap = 0 # number
893 # The span for aligning on '#define' bodies (0=don't align)
894 align_pp_define_span = 0 # number
896 # Align lines that start with '<<' with previous '<<'. Default=true
897 # WARNING: Code doesn't seem to use this feature - delete from the config?
898 align_left_shift = false # false/true
900 # Span for aligning parameters in an Obj-C message call on the ':' (0=don't align)
901 # WARNING: Code doesn't seem to use this feature - delete from the config?
902 align_oc_msg_colon_span = 0 # number
904 # Aligning parameters in an Obj-C '+' or '-' declaration on the ':'
905 # WARNING: Code doesn't seem to use this feature - delete from the config?
906 align_oc_decl_colon = false # false/true
909 # Newline adding and removing options
912 # Whether to collapse empty blocks between '{' and '}'
913 nl_collapse_empty_body = false # false/true
915 # Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
916 # WARNING: Code doesn't seem to use this feature - delete from the config?
917 nl_assign_leave_one_liners = false # false/true
919 # Don't split one-line braced statements inside a class xx { } body
920 # WARNING: Code doesn't seem to use this feature - delete from the config?
921 nl_class_leave_one_liners = false # false/true
923 # Don't split one-line enums: 'enum foo { BAR = 15 };'
924 # WARNING: Code doesn't seem to use this feature - delete from the config?
925 nl_enum_leave_one_liners = false # false/true
927 # Don't split one-line get or set functions
928 # WARNING: Code doesn't seem to use this feature - delete from the config?
929 nl_getset_leave_one_liners = false # false/true
931 # Don't split one-line function definitions - 'int foo() { return 0; }'
932 nl_func_leave_one_liners = true # false/true
934 # Don't split one-line if/else statements - 'if(a) b++;'
935 nl_if_leave_one_liners = true # false/true
937 # Add or remove newlines at the start of the file
938 nl_start_of_file = remove # ignore/add/remove/force #force
940 # The number of newlines at the start of the file (only used if nl_start_of_file is 'add' or 'force'
941 # WARNING: Code doesn't seem to use this feature - delete from the config?
942 nl_start_of_file_min = 0 # number
944 # Add or remove newline at the end of the file
945 nl_end_of_file = add # ignore/add/remove/force
947 # The number of newlines at the end of the file (only used if nl_end_of_file is 'add' or 'force')
948 nl_end_of_file_min = 0 # number
950 # Add or remove newline between '=' and '{'
951 # WARNING: Code doesn't seem to use this feature - delete from the config?
952 nl_assign_brace = ignore # ignore/add/remove/force
954 # Add or remove newline between '=' and '[' (D only)
955 # WARNING: Code doesn't seem to use this feature - delete from the config?
956 nl_assign_square = ignore # ignore/add/remove/force
958 # Add or remove newline after '= [' (D only). Will also affect the newline before the ']'
959 # WARNING: Code doesn't seem to use this feature - delete from the config?
960 nl_after_square_assign = ignore # ignore/add/remove/force
962 # The number of blank lines after a block of variable definitions
963 nl_func_var_def_blk = 0 # number #force
965 # Add or remove newline between a function call's ')' and '{', as in:
966 # list_for_each(item, &list) { }
967 nl_fcall_brace = add # ignore/add/remove/force
969 # Add or remove newline between 'enum' and '{'
970 # WARNING: Code doesn't seem to use this feature - delete from the config?
971 nl_enum_brace = ignore # ignore/add/remove/force
973 # Add or remove newline between 'struct and '{'
974 # WARNING: Code doesn't seem to use this feature - delete from the config?
975 nl_struct_brace = ignore # ignore/add/remove/force
977 # Add or remove newline between 'union' and '{'
978 # WARNING: Code doesn't seem to use this feature - delete from the config?
979 nl_union_brace = ignore # ignore/add/remove/force
981 # Add or remove newline between 'if' and '{'
982 # NOTE: is 120 worse than ignore
983 nl_if_brace = add # ignore/add/remove/force
985 # Add or remove newline between '}' and 'else'
986 nl_brace_else = add # ignore/add/remove/force
988 # Add or remove newline between 'else if' and '{'
989 # If set to ignore, nl_if_brace is used instead
990 nl_elseif_brace = add # ignore/add/remove/force
992 # Add or remove newline between 'else' and '{'
993 nl_else_brace = add # ignore/add/remove/force
995 # Add or remove newline between 'else' and 'if'
996 nl_else_if = remove # ignore/add/remove/force
998 # Add or remove newline between '}' and 'finally'
999 # WARNING: Code doesn't seem to use this feature - delete from the config?
1000 nl_brace_finally = ignore # ignore/add/remove/force
1002 # Add or remove newline between 'finally' and '{'
1003 # WARNING: Code doesn't seem to use this feature - delete from the config?
1004 nl_finally_brace = ignore # ignore/add/remove/force
1006 # Add or remove newline between 'try' and '{'
1007 # WARNING: Code doesn't seem to use this feature - delete from the config?
1008 nl_try_brace = ignore # ignore/add/remove/force
1010 # Add or remove newline between get/set and '{'
1011 # WARNING: Code doesn't seem to use this feature - delete from the config?
1012 nl_getset_brace = ignore # ignore/add/remove/force
1014 # Add or remove newline between 'for' and '{'
1015 # NOTE: is 23 worse than ignore
1016 nl_for_brace = add # ignore/add/remove/force
1018 # Add or remove newline between 'catch' and '{'
1019 # WARNING: Code doesn't seem to use this feature - delete from the config?
1020 nl_catch_brace = ignore # ignore/add/remove/force
1022 # Add or remove newline between '}' and 'catch'
1023 # WARNING: Code doesn't seem to use this feature - delete from the config?
1024 nl_brace_catch = ignore # ignore/add/remove/force
1026 # Add or remove newline between 'while' and '{'
1027 # NOTE: is 8 worse than ignore
1028 nl_while_brace = add # ignore/add/remove/force
1030 # Add or remove newline between 'using' and '{'
1031 # WARNING: Code doesn't seem to use this feature - delete from the config?
1032 nl_using_brace = ignore # ignore/add/remove/force
1034 # Add or remove newline between two open or close braces.
1035 # Due to general newline/brace handling, REMOVE may not work.
1036 # WARNING: Code doesn't seem to use this feature - delete from the config?
1037 nl_brace_brace = ignore # ignore/add/remove/force
1039 # Add or remove newline between 'do' and '{'
1040 nl_do_brace = add # ignore/add/remove/force
1042 # Add or remove newline between '}' and 'while' of 'do' statement
1043 nl_brace_while = add # ignore/add/remove/force #force
1045 # Add or remove newline between 'switch' and '{'
1046 # NOTE: is 20 worse than ignore
1047 nl_switch_brace = add # ignore/add/remove/force
1049 # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc.
1050 # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch, and nl_catch_brace.
1051 # WARNING: Code doesn't seem to use this feature - delete from the config?
1052 nl_multi_line_cond = false # false/true
1054 # Force a newline in a define after the macro name for multi-line defines.
1055 nl_multi_line_define = false # false/true
1057 # Whether to put a newline before 'case' statement
1058 nl_before_case = false # false/true
1060 # Add or remove newline between ')' and 'throw'
1061 # WARNING: Code doesn't seem to use this feature - delete from the config?
1062 nl_before_throw = ignore # ignore/add/remove/force
1064 # Whether to put a newline after 'case' statement
1065 nl_after_case = false # false/true
1067 # Newline between namespace and {
1068 # WARNING: Code doesn't seem to use this feature - delete from the config?
1069 nl_namespace_brace = ignore # ignore/add/remove/force
1071 # Add or remove newline between 'template<>' and whatever follows.
1072 # WARNING: Code doesn't seem to use this feature - delete from the config?
1073 nl_template_class = ignore # ignore/add/remove/force
1075 # Add or remove newline between 'class' and '{'
1076 # WARNING: Code doesn't seem to use this feature - delete from the config?
1077 nl_class_brace = ignore # ignore/add/remove/force
1079 # Add or remove newline after each ',' in the constructor member initialization
1080 # WARNING: Code doesn't seem to use this feature - delete from the config?
1081 nl_class_init_args = ignore # ignore/add/remove/force
1083 # Add or remove newline between return type and function name in a function definition
1084 nl_func_type_name = remove # ignore/add/remove/force
1086 # Add or remove newline between return type and function name inside a class {}
1087 # Uses nl_func_type_name or nl_func_proto_type_name if set to ignore.
1088 # WARNING: Code doesn't seem to use this feature - delete from the config?
1089 nl_func_type_name_class = ignore # ignore/add/remove/force
1091 # Add or remove newline between function scope and name in a definition
1092 # Controls the newline after '::' in 'void A::f() { }'
1093 # WARNING: Code doesn't seem to use this feature - delete from the config?
1094 nl_func_scope_name = ignore # ignore/add/remove/force
1096 # Add or remove newline between return type and function name in a prototype
1097 # NOTE: is 1 worse than ignore
1098 nl_func_proto_type_name = remove # ignore/add/remove/force
1100 # Add or remove newline between a function name and the opening '('
1101 nl_func_paren = remove # ignore/add/remove/force
1103 # Add or remove newline between a function name and the opening '(' in the definition
1104 nl_func_def_paren = remove # ignore/add/remove/force
1106 # Add or remove newline after '(' in a function declaration
1107 nl_func_decl_start = remove # ignore/add/remove/force
1109 # Add or remove newline after '(' in a function definition
1110 nl_func_def_start = remove # ignore/add/remove/force
1112 # # Overrides nl_func_decl_start when there is only one parameter.
1113 # nl_func_decl_start_single = ignore # ignore/add/remove/force
1115 # # Overrides nl_func_def_start when there is only one parameter.
1116 # nl_func_def_start_single = ignore # ignore/add/remove/force
1118 # Add or remove newline after each ',' in a function declaration
1119 nl_func_decl_args = remove # ignore/add/remove/force
1121 # Add or remove newline after each ',' in a function definition
1122 nl_func_def_args = remove # ignore/add/remove/force
1124 # Add or remove newline before the ')' in a function declaration
1125 nl_func_decl_end = remove # ignore/add/remove/force
1127 # Add or remove newline before the ')' in a function definition
1128 nl_func_def_end = remove # ignore/add/remove/force
1130 # # Overrides nl_func_decl_end when there is only one parameter.
1131 # nl_func_decl_end_single = ignore # ignore/add/remove/force
1133 # # Overrides nl_func_def_end when there is only one parameter.
1134 # nl_func_def_end_single = ignore # ignore/add/remove/force
1136 # Add or remove newline between '()' in a function declaration.
1137 nl_func_decl_empty = remove # ignore/add/remove/force
1139 # Add or remove newline between '()' in a function definition.
1140 nl_func_def_empty = remove # ignore/add/remove/force
1142 # Add or remove newline between function signature and '{'
1143 # NOTE: is 27 worse than ignore
1144 nl_fdef_brace = add # ignore/add/remove/force
1146 # Whether to put a newline after 'return' statement
1147 nl_after_return = false # false/true
1149 # Add or remove a newline between the return keyword and return expression.
1150 # NOTE: is 2 worse than ignore
1151 nl_return_expr = remove # ignore/add/remove/force
1153 # Whether to put a newline after semicolons, except in 'for' statements
1154 nl_after_semicolon = false # false/true
1156 # Whether to put a newline after brace open.
1157 # This also adds a newline before the matching brace close.
1158 # WARNING: Code doesn't seem to use this feature - delete from the config?
1159 nl_after_brace_open = false # false/true
1161 # If nl_after_brace_open and nl_after_brace_open_cmt are true, a newline is
1162 # placed between the open brace and a trailing single-line comment.
1163 # WARNING: Code doesn't seem to use this feature - delete from the config?
1164 nl_after_brace_open_cmt = false # false/true
1166 # Whether to put a newline after a virtual brace open with a non-empty body.
1167 # These occur in un-braced if/while/do/for statement bodies.
1168 # WARNING: Code doesn't seem to use this feature - delete from the config?
1169 nl_after_vbrace_open = false # false/true
1171 # Whether to put a newline after a virtual brace open with an empty body.
1172 # These occur in un-braced if/while/do/for statement bodies.
1173 # WARNING: Code doesn't seem to use this feature - delete from the config?
1174 nl_after_vbrace_open_empty = false # false/true
1176 # Whether to put a newline after a brace close.
1177 # Does not apply if followed by a necessary ';'.
1178 nl_after_brace_close = false # false/true
1180 # Whether to put a newline after a virtual brace close.
1181 # Would add a newline before return in: 'if (foo) a++; return;'
1182 nl_after_vbrace_close = false # false/true
1184 # Whether to alter newlines in '#define' macros
1185 nl_define_macro = true # false/true
1187 # Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
1188 # WARNING: Code doesn't seem to use this feature - delete from the config?
1189 nl_squeeze_ifdef = false # false/true
1191 # Add or remove blank line before 'if'
1192 nl_before_if = ignore # ignore/add/remove/force #force
1194 # Add or remove blank line after 'if' statement
1195 nl_after_if = ignore # ignore/add/remove/force #force
1197 # Add or remove blank line before 'for'
1198 nl_before_for = ignore # ignore/add/remove/force #force
1200 # Add or remove blank line after 'for' statement
1201 nl_after_for = ignore # ignore/add/remove/force #force
1203 # Add or remove blank line before 'while'
1204 nl_before_while = ignore # ignore/add/remove/force #force
1206 # Add or remove blank line after 'while' statement
1207 nl_after_while = ignore # ignore/add/remove/force #force
1209 # Add or remove blank line before 'switch'
1210 nl_before_switch = ignore # ignore/add/remove/force #force
1212 # Add or remove blank line after 'switch' statement
1213 nl_after_switch = ignore # ignore/add/remove/force #force
1215 # Add or remove blank line before 'do'
1216 nl_before_do = ignore # ignore/add/remove/force #force
1218 # Add or remove blank line after 'do/while' statement
1219 nl_after_do = ignore # ignore/add/remove/force #force
1221 # Whether to double-space commented-entries in struct/enum
1222 # WARNING: Code doesn't seem to use this feature - delete from the config?
1223 nl_ds_struct_enum_cmt = false # false/true
1225 # Whether to double-space before the close brace of a struct/union/enum
1226 # (lower priority than 'eat_blanks_before_close_brace')
1227 # WARNING: Code doesn't seem to use this feature - delete from the config?
1228 nl_ds_struct_enum_close_brace = false # false/true
1230 # Add or remove a newline around a class colon.
1231 # Related to pos_class_colon, nl_class_init_args, and pos_comma.
1232 # WARNING: Code doesn't seem to use this feature - delete from the config?
1233 nl_class_colon = ignore # ignore/add/remove/force
1235 # Change simple unbraced if statements into a one-liner
1236 # 'if(b)\n i++;' => 'if(b) i++;'
1237 nl_create_if_one_liner = false # false/true
1239 # Change simple unbraced for statements into a one-liner
1240 # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'
1241 nl_create_for_one_liner = false # false/true
1243 # Change simple unbraced while statements into a one-liner
1244 # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'
1245 nl_create_while_one_liner = false # false/true
1248 # Positioning options
1251 # The position of arithmetic operators in wrapped expressions
1252 pos_arith = lead # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1254 # The position of assignment in wrapped expressions.
1255 # Do not affect '=' followed by '{'
1256 pos_assign = trail # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1258 # The position of boolean operators in wrapped expressions
1259 pos_bool = lead # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1261 # The position of comparison operators in wrapped expressions
1262 # WARNING: Best is not unique (lead trail)
1263 pos_compare = ignore # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1265 # The position of conditional (b ? t : f) operators in wrapped expressions
1266 pos_conditional = trail # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1268 # The position of the comma in wrapped expressions
1269 pos_comma = trail # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1271 # The position of the comma in the constructor initialization list
1272 # WARNING: Code doesn't seem to use this feature - delete from the config?
1273 pos_class_comma = ignore # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1275 # The position of colons between constructor and member initialization
1276 # WARNING: Code doesn't seem to use this feature - delete from the config?
1277 pos_class_colon = ignore # ignore/lead/lead_break/lead_force/trail/trail_break/trail_force
1280 # Line Splitting options
1283 # Try to limit code width to N number of columns
1284 code_width = 0 # number
1286 # Whether to fully split long 'for' statements at semi-colons
1287 # WARNING: Code doesn't seem to use this feature - delete from the config?
1288 ls_for_split_full = false # false/true
1290 # Whether to fully split long function protos/calls at commas
1291 # WARNING: Code doesn't seem to use this feature - delete from the config?
1292 ls_func_split_full = false # false/true
1295 # Blank line options
1298 # The maximum consecutive newlines
1299 nl_max = 3 # number #force
1301 # The number of newlines after a function prototype, if followed by another function prototype
1302 # WARNING: Best is not unique (0 1)
1303 nl_after_func_proto = 0 # number
1305 # The number of newlines after a function prototype, if not followed by another function prototype
1306 # WARNING: Best is not unique (0 1)
1307 nl_after_func_proto_group = 0 # number
1309 # The number of newlines after '}' of a multi-line function body
1310 nl_after_func_body = 0 # number
1312 # The number of newlines after '}' of a single line function body
1313 # WARNING: Best is not unique (0 1)
1314 nl_after_func_body_one_liner = 0 # number
1316 # The minimum number of newlines before a multi-line comment.
1317 # Doesn't apply if after a brace open or another multi-line comment.
1318 # WARNING: Best is not unique (0 1)
1319 nl_before_block_comment = 0 # number
1321 # The minimum number of newlines before a single-line C comment.
1322 # Doesn't apply if after a brace open or other single-line C comments.
1323 # WARNING: Code doesn't seem to use this feature - delete from the config?
1324 nl_before_c_comment = 0 # number
1326 # The minimum number of newlines before a CPP comment.
1327 # Doesn't apply if after a brace open or other CPP comments.
1328 # WARNING: Best is not unique (0 1)
1329 nl_before_cpp_comment = 0 # number
1331 # Whether to force a newline after a multi-line comment.
1332 # WARNING: Code doesn't seem to use this feature - delete from the config?
1333 nl_after_multiline_comment = false # false/true
1335 # The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1336 # Will not change the newline count if after a brace open.
1338 # WARNING: Code doesn't seem to use this feature - delete from the config?
1339 nl_before_access_spec = 0 # number
1341 # The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1343 # WARNING: Code doesn't seem to use this feature - delete from the config?
1344 nl_after_access_spec = 0 # number
1346 # The number of newlines between a function def and the function comment.
1348 # WARNING: Best is not unique (0 2)
1349 nl_comment_func_def = 0 # number
1351 # The number of newlines after a try-catch-finally block that isn't followed by a brace close.
1353 # WARNING: Code doesn't seem to use this feature - delete from the config?
1354 nl_after_try_catch_finally = 0 # number
1356 # The number of newlines before and after a property, indexer or event decl.
1358 # WARNING: Code doesn't seem to use this feature - delete from the config?
1359 nl_around_cs_property = 0 # number
1361 # The number of newlines between the get/set/add/remove handlers in C#.
1363 # WARNING: Code doesn't seem to use this feature - delete from the config?
1364 nl_between_get_set = 0 # number
1366 # Whether to remove blank lines after '{'
1367 eat_blanks_after_open_brace = true # false/true #force
1369 # Whether to remove blank lines before '}'
1370 eat_blanks_before_close_brace = true # false/true #force
1373 # Code modifying options (non-whitespace)
1376 # Add or remove braces on single-line 'do' statement
1377 mod_full_brace_do = add # ignore/add/remove/force
1379 # Add or remove braces on single-line 'for' statement
1380 # NOTE: is 16 worse than ignore
1381 mod_full_brace_for = remove # ignore/add/remove/force
1383 # Add or remove braces on single-line function definitions. (Pawn)
1384 # WARNING: Code doesn't seem to use this feature - delete from the config?
1385 mod_full_brace_function = ignore # ignore/add/remove/force
1387 # Add or remove braces on single-line 'if' statement. Will not remove the braces if they contain an 'else'.
1388 # NOTE: is 35 worse than ignore
1389 mod_full_brace_if = remove # ignore/add/remove/force
1391 # Make all if/elseif/else statements in a chain be braced or not. Overrides mod_full_brace_if.
1392 # If any must be braced, they are all braced. If all can be unbraced, then the braces are removed.
1393 mod_full_brace_if_chain = true # false/true #force
1395 # Don't remove braces around statements that span N newlines
1396 mod_full_brace_nl = 2 # number #force
1398 # Add or remove braces on single-line 'while' statement
1399 mod_full_brace_while = remove # ignore/add/remove/force
1401 # Add or remove braces on single-line 'using ()' statement
1402 # WARNING: Code doesn't seem to use this feature - delete from the config?
1403 mod_full_brace_using = ignore # ignore/add/remove/force
1405 # Add or remove unnecessary paren on 'return' statement
1406 mod_paren_on_return = remove # ignore/add/remove/force
1408 # Whether to change optional semicolons to real semicolons
1409 # WARNING: Code doesn't seem to use this feature - delete from the config?
1410 mod_pawn_semicolon = false # false/true
1412 # Add parens on 'while' and 'if' statement around bools
1413 mod_full_paren_if_bool = false # false/true
1415 # Whether to remove superfluous semicolons
1416 # WARNING: Code doesn't seem to use this feature - delete from the config?
1417 mod_remove_extra_semicolon = false # false/true
1419 # If a function body exceeds the specified number of newlines and doesn't have a comment after
1420 # the close brace, a comment will be added.
1421 mod_add_long_function_closebrace_comment = 0 # number
1423 # If a switch body exceeds the specified number of newlines and doesn't have a comment after
1424 # the close brace, a comment will be added.
1425 mod_add_long_switch_closebrace_comment = 0 # number
1427 # If an #ifdef body exceeds the specified number of newlines and doesn't have a comment after
1428 # the #else, a comment will be added.
1429 mod_add_long_ifdef_endif_comment = 0 # number
1431 # If an #ifdef or #else body exceeds the specified number of newlines and doesn't have a comment after
1432 # the #endif, a comment will be added.
1433 mod_add_long_ifdef_else_comment = 0 # number
1435 # If TRUE, will sort consecutive single-line 'import' statements [Java, D]
1436 # WARNING: Code doesn't seem to use this feature - delete from the config?
1437 mod_sort_import = false # false/true
1439 # If TRUE, will sort consecutive single-line 'using' statements [C#]
1440 # WARNING: Code doesn't seem to use this feature - delete from the config?
1441 mod_sort_using = false # false/true
1443 # If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
1444 # This is generally a bad idea, as it may break your code.
1445 # WARNING: Code doesn't seem to use this feature - delete from the config?
1446 mod_sort_include = false # false/true
1448 # If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
1449 # WARNING: Code doesn't seem to use this feature - delete from the config?
1450 mod_move_case_break = false # false/true
1452 # Will add or remove the braces around a fully braced case statement.
1453 # Will only remove the braces if there are no variable declarations in the block.
1454 # NOTE: is 41 worse than ignore
1455 mod_case_brace = remove # ignore/add/remove/force
1457 # If TRUE, it will remove a void 'return;' that appears as the last statement in a function.
1458 mod_remove_empty_return = true # false/true #force
1461 # Comment modifications
1464 # Try to wrap comments at cmt_width columns
1465 cmt_width = 0 # number
1467 # Set the comment reflow mode (default: 0)
1468 # 0: no reflowing (apart from the line wrapping due to cmt_width)
1469 # 1: no touching at all
1471 # WARNING: Code doesn't seem to use this feature - delete from the config?
1472 cmt_reflow_mode = 0 # number
1474 # If false, disable all multi-line comment changes, including cmt_width. keyword substitution, and leading chars.
1476 cmt_indent_multi = false # false/true
1478 # Whether to group c-comments that look like they are in a block
1479 # WARNING: Code doesn't seem to use this feature - delete from the config?
1480 cmt_c_group = false # false/true
1482 # Whether to put an empty '/*' on the first line of the combined c-comment
1483 # WARNING: Code doesn't seem to use this feature - delete from the config?
1484 cmt_c_nl_start = false # false/true
1486 # Whether to put a newline before the closing '*/' of the combined c-comment
1487 # WARNING: Code doesn't seem to use this feature - delete from the config?
1488 cmt_c_nl_end = false # false/true
1490 # Whether to group cpp-comments that look like they are in a block
1491 # WARNING: Code doesn't seem to use this feature - delete from the config?
1492 cmt_cpp_group = false # false/true
1494 # Whether to put an empty '/*' on the first line of the combined cpp-comment
1495 # WARNING: Code doesn't seem to use this feature - delete from the config?
1496 cmt_cpp_nl_start = false # false/true
1498 # Whether to put a newline before the closing '*/' of the combined cpp-comment
1499 # WARNING: Code doesn't seem to use this feature - delete from the config?
1500 cmt_cpp_nl_end = false # false/true
1502 # Whether to change cpp-comments into c-comments
1503 cmt_cpp_to_c = false # false/true
1505 # Whether to put a star on subsequent comment lines
1506 # WARNING: Code doesn't seem to use this feature - delete from the config?
1507 cmt_star_cont = false # false/true
1509 # The number of spaces to insert at the start of subsequent comment lines
1510 # WARNING: Code doesn't seem to use this feature - delete from the config?
1511 cmt_sp_before_star_cont = 0 # number
1513 # The number of spaces to insert after the star on subsequent comment lines
1514 # WARNING: Code doesn't seem to use this feature - delete from the config?
1515 cmt_sp_after_star_cont = 0 # number
1517 # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
1518 # the comment are the same length. Default=True
1519 # WARNING: Code doesn't seem to use this feature - delete from the config?
1520 cmt_multi_check_last = false # false/true
1522 # The filename that contains text to insert at the head of a file if the file doesn't start with a C/C++ comment.
1523 # Will substitute $(filename) with the current file's name.
1524 # WARNING: unsupported string
1525 cmt_insert_file_header = "" # string
1527 # The filename that contains text to insert at the end of a file if the file doesn't end with a C/C++ comment.
1528 # Will substitute $(filename) with the current file's name.
1529 # WARNING: unsupported string
1530 cmt_insert_file_footer = "" # string
1532 # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ comment.
1533 # Will substitute $(function) with the function name and $(javaparam) with the javadoc @param and @return stuff.
1534 # Will also substitute $(fclass) with the class name: void CFoo::Bar() { ... }
1535 # WARNING: unsupported string
1536 cmt_insert_func_header = "" # string
1538 # The filename that contains text to insert before a class if the class isn't preceded with a C/C++ comment.
1539 # Will substitute $(class) with the class name.
1540 # WARNING: unsupported string
1541 cmt_insert_class_header = "" # string
1543 # If a preprocessor is encountered when stepping backwards from a function name, then
1544 # this option decides whether the comment should be inserted.
1545 # Affects cmt_insert_func_header and cmt_insert_class_header.
1546 # WARNING: Code doesn't seem to use this feature - delete from the config?
1547 cmt_insert_before_preproc = false # false/true
1550 # Preprocessor options
1553 # Control indent of preprocessors inside #if blocks at brace level 0
1554 # WARNING: Indifferent... please decide manually.
1555 pp_indent = ignore # ignore/add/remove/force
1557 # Whether to indent #if/#else/#endif at the brace level (true) or from column 1 (false)
1558 pp_indent_at_level = false # false/true
1560 # If pp_indent_at_level=false, specifies the number of columns to indent per level. Default=1.
1561 # WARNING: Code doesn't seem to use this feature - delete from the config?
1562 pp_indent_count = 0 # number
1564 # Add or remove space after # based on pp_level of #if blocks
1565 pp_space = remove # ignore/add/remove/force
1567 # Sets the number of spaces added with pp_space
1568 # WARNING: Code doesn't seem to use this feature - delete from the config?
1569 pp_space_count = 0 # number
1571 # The indent for #region and #endregion in C# and '#pragma region' in C/C++
1572 # WARNING: Code doesn't seem to use this feature - delete from the config?
1573 pp_indent_region = 0 # number
1575 # Whether to indent the code between #region and #endregion
1576 # WARNING: Code doesn't seem to use this feature - delete from the config?
1577 pp_region_indent_code = false # false/true
1579 # If pp_indent_at_level=true, sets the indent for #if, #else, and #endif when not at file-level
1580 # WARNING: Code doesn't seem to use this feature - delete from the config?
1581 pp_indent_if = 0 # number
1583 # Control whether to indent the code between #if, #else and #endif when not at file-level
1584 pp_if_indent_code = false # false/true
1586 # Whether to indent '#define' at the brace level (true) or from column 1 (false)
1587 pp_define_at_level = false # false/true
1589 # You can force a token to be a type with the 'type' option.
1591 # type myfoo1 myfoo2
1605 # You can create custom macro-based indentation using macro-open,
1606 # macro-else and macro-close.
1608 # macro-open BEGIN_TEMPLATE_MESSAGE_MAP
1609 # macro-open BEGIN_MESSAGE_MAP
1610 # macro-close END_MESSAGE_MAP
1612 # You can assign any keyword to any type with the set option.
1613 # set func_call_user _ N_
1615 set func_call_user _
1618 # The full syntax description of all custom definition config entries
1621 # define custom tokens as:
1622 # - embed whitespace in token using '' escape character, or
1623 # put token in quotes
1624 # - these: ' " and ` are recognized as quote delimiters
1626 # type token1 token2 token3 ...
1627 # ^ optionally specify multiple tokens on a single line
1628 # define def_token output_token
1629 # ^ output_token is optional, then NULL is assumed
1633 # set id token1 token2 ...
1634 # ^ optionally specify multiple tokens on a single line
1635 # ^ id is one of the names in token_enum.h sans the CT_ prefix,
1638 # all tokens are separated by any mix of ',' commas, '=' equal signs
1639 # and whitespace (space, tab)