Advertisement
Guest User

uncrustify config

a guest
Apr 9th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 94.13 KB | None | 0 0
  1. #
  2. # General options
  3. #
  4.  
  5. # The type of line endings. Default=Auto.
  6. newlines                        = lf     # auto/lf/crlf/cr
  7.  
  8. # The original size of tabs in the input. Default=8.
  9. input_tab_size                  = 4        # unsigned number
  10.  
  11. # The size of tabs in the output (only used if align_with_tabs=true). Default=8.
  12. output_tab_size                 = 4        # unsigned number
  13.  
  14. # The ASCII value of the string escape char, usually 92 (\) or 94 (^). (Pawn).
  15. string_escape_char              = 92       # unsigned number
  16.  
  17. # Alternate string escape char for Pawn. Only works right before the quote char.
  18. string_escape_char2             = 0        # unsigned number
  19.  
  20. # Replace tab characters found in string literals with the escape sequence \t instead.
  21. string_replace_tab_chars        = false    # false/true
  22.  
  23. # Allow interpreting '>=' and '>>=' as part of a template in 'void f(list<list<B>>=val);'.
  24. # If True, 'assert(x<0 && y>=3)' will be broken. Default=False
  25. # Improvements to template detection may make this option obsolete.
  26. tok_split_gte                   = false    # false/true
  27.  
  28. # Override the default ' *INDENT-OFF*' in comments for disabling processing of part of the file.
  29. disable_processing_cmt          = ""         # string
  30.  
  31. # Override the default ' *INDENT-ON*' in comments for enabling processing of part of the file.
  32. enable_processing_cmt           = ""         # string
  33.  
  34. # Enable parsing of digraphs. Default=False.
  35. enable_digraphs                 = false    # false/true
  36.  
  37. # Control what to do with the UTF-8 BOM (recommend 'remove').
  38. utf8_bom                        = remove   # ignore/add/remove/force
  39.  
  40. # If the file contains bytes with values between 128 and 255, but is not UTF-8, then output as UTF-8.
  41. utf8_byte                       = false    # false/true
  42.  
  43. # Force the output encoding to UTF-8.
  44. utf8_force                      = true    # false/true
  45.  
  46. #
  47. # Spacing options
  48. #
  49.  
  50. # Add or remove space around arithmetic operator '+', '-', '/', '*', etc
  51. # also '>>>' '<<' '>>' '%' '|'.
  52. sp_arith                        = ignore   # ignore/add/remove/force
  53.  
  54. # Add or remove space around arithmetic operator '+' and '-'. Overrides sp_arith
  55. sp_arith_additive               = ignore   # ignore/add/remove/force
  56.  
  57. # Add or remove space around assignment operator '=', '+=', etc.
  58. sp_assign                       = ignore   # ignore/add/remove/force
  59.  
  60. # Add or remove space around '=' in C++11 lambda capture specifications. Overrides sp_assign.
  61. sp_cpp_lambda_assign            = ignore   # ignore/add/remove/force
  62.  
  63. # Add or remove space after the capture specification in C++11 lambda.
  64. sp_cpp_lambda_paren             = ignore   # ignore/add/remove/force
  65.  
  66. # Add or remove space around assignment operator '=' in a prototype.
  67. sp_assign_default               = ignore   # ignore/add/remove/force
  68.  
  69. # Add or remove space before assignment operator '=', '+=', etc. Overrides sp_assign.
  70. sp_before_assign                = ignore   # ignore/add/remove/force
  71.  
  72. # Add or remove space after assignment operator '=', '+=', etc. Overrides sp_assign.
  73. sp_after_assign                 = ignore   # ignore/add/remove/force
  74.  
  75. # Add or remove space in 'NS_ENUM ('.
  76. sp_enum_paren                   = ignore   # ignore/add/remove/force
  77.  
  78. # Add or remove space around assignment '=' in enum.
  79. sp_enum_assign                  = ignore   # ignore/add/remove/force
  80.  
  81. # Add or remove space before assignment '=' in enum. Overrides sp_enum_assign.
  82. sp_enum_before_assign           = ignore   # ignore/add/remove/force
  83.  
  84. # Add or remove space after assignment '=' in enum. Overrides sp_enum_assign.
  85. sp_enum_after_assign            = ignore   # ignore/add/remove/force
  86.  
  87. # Add or remove space around assignment ':' in enum.
  88. sp_enum_colon                   = ignore   # ignore/add/remove/force
  89.  
  90. # Add or remove space around preprocessor '##' concatenation operator. Default=Add.
  91. sp_pp_concat                    = ignore      # ignore/add/remove/force
  92.  
  93. # Add or remove space after preprocessor '#' stringify operator. Also affects the '#@' charizing operator.
  94. sp_pp_stringify                 = ignore   # ignore/add/remove/force
  95.  
  96. # Add or remove space before preprocessor '#' stringify operator as in '#define x(y) L#y'.
  97. sp_before_pp_stringify          = ignore   # ignore/add/remove/force
  98.  
  99. # Add or remove space around boolean operators '&&' and '||'.
  100. sp_bool                         = ignore   # ignore/add/remove/force
  101.  
  102. # Add or remove space around compare operator '<', '>', '==', etc.
  103. sp_compare                      = ignore   # ignore/add/remove/force
  104.  
  105. # Add or remove space inside '(' and ')'.
  106. sp_inside_paren                 = ignore   # ignore/add/remove/force
  107.  
  108. # Add or remove space between nested parens: '((' vs ') )'.
  109. sp_paren_paren                  = ignore   # ignore/add/remove/force
  110.  
  111. # Add or remove space between back-to-back parens: ')(' vs ') ('.
  112. sp_cparen_oparen                = ignore   # ignore/add/remove/force
  113.  
  114. # Whether to balance spaces inside nested parens.
  115. sp_balance_nested_parens        = false    # false/true
  116.  
  117. # Add or remove space between ')' and '{'.
  118. sp_paren_brace                  = ignore   # ignore/add/remove/force
  119.  
  120. # Add or remove space before pointer star '*'.
  121. sp_before_ptr_star              = ignore   # ignore/add/remove/force
  122.  
  123. # Add or remove space before pointer star '*' that isn't followed by a variable name
  124. # If set to 'ignore', sp_before_ptr_star is used instead.
  125. sp_before_unnamed_ptr_star      = ignore   # ignore/add/remove/force
  126.  
  127. # Add or remove space between pointer stars '*'.
  128. sp_between_ptr_star             = ignore   # ignore/add/remove/force
  129.  
  130. # Add or remove space after pointer star '*', if followed by a word.
  131. sp_after_ptr_star               = ignore   # ignore/add/remove/force
  132.  
  133. # Add or remove space after pointer star '*', if followed by a qualifier.
  134. sp_after_ptr_star_qualifier     = ignore   # ignore/add/remove/force
  135.  
  136. # Add or remove space after a pointer star '*', if followed by a func proto/def.
  137. sp_after_ptr_star_func          = ignore   # ignore/add/remove/force
  138.  
  139. # Add or remove space after a pointer star '*', if followed by an open paren (function types).
  140. sp_ptr_star_paren               = ignore   # ignore/add/remove/force
  141.  
  142. # Add or remove space before a pointer star '*', if followed by a func proto/def.
  143. sp_before_ptr_star_func         = ignore   # ignore/add/remove/force
  144.  
  145. # Add or remove space before a reference sign '&'.
  146. sp_before_byref                 = ignore   # ignore/add/remove/force
  147.  
  148. # Add or remove space before a reference sign '&' that isn't followed by a variable name.
  149. # If set to 'ignore', sp_before_byref is used instead.
  150. sp_before_unnamed_byref         = ignore   # ignore/add/remove/force
  151.  
  152. # Add or remove space after reference sign '&', if followed by a word.
  153. sp_after_byref                  = ignore   # ignore/add/remove/force
  154.  
  155. # Add or remove space after a reference sign '&', if followed by a func proto/def.
  156. sp_after_byref_func             = ignore   # ignore/add/remove/force
  157.  
  158. # Add or remove space before a reference sign '&', if followed by a func proto/def.
  159. sp_before_byref_func            = ignore   # ignore/add/remove/force
  160.  
  161. # Add or remove space between type and word. Default=Force.
  162. sp_after_type                   = force    # ignore/add/remove/force
  163.  
  164. # Add or remove space before the paren in the D constructs 'template Foo(' and 'class Foo('.
  165. sp_before_template_paren        = ignore   # ignore/add/remove/force
  166.  
  167. # Add or remove space in 'template <' vs 'template<'.
  168. # If set to ignore, sp_before_angle is used.
  169. sp_template_angle               = ignore   # ignore/add/remove/force
  170.  
  171. # Add or remove space before '<>'.
  172. sp_before_angle                 = ignore   # ignore/add/remove/force
  173.  
  174. # Add or remove space inside '<' and '>'.
  175. sp_inside_angle                 = ignore   # ignore/add/remove/force
  176.  
  177. # Add or remove space between '<>' and ':'.
  178. sp_angle_colon                  = ignore   # ignore/add/remove/force
  179.  
  180. # Add or remove space after '<>'.
  181. sp_after_angle                  = ignore   # ignore/add/remove/force
  182.  
  183. # Add or remove space between '<>' and '(' as found in 'new List<byte>(foo);'.
  184. sp_angle_paren                  = ignore   # ignore/add/remove/force
  185.  
  186. # Add or remove space between '<>' and '()' as found in 'new List<byte>();'.
  187. sp_angle_paren_empty            = ignore   # ignore/add/remove/force
  188.  
  189. # Add or remove space between '<>' and a word as in 'List<byte> m;' or 'template <typename T> static ...'.
  190. sp_angle_word                   = ignore   # ignore/add/remove/force
  191.  
  192. # Add or remove space between '>' and '>' in '>>' (template stuff C++/C# only). Default=Add.
  193. sp_angle_shift                  = add      # ignore/add/remove/force
  194.  
  195. # Permit removal of the space between '>>' in 'foo<bar<int> >' (C++11 only). Default=False.
  196. # sp_angle_shift cannot remove the space without this option.
  197. sp_permit_cpp11_shift           = false    # false/true
  198.  
  199. # Add or remove space before '(' of 'if', 'for', 'switch', 'while', etc.
  200. sp_before_sparen                = add   # ignore/add/remove/force
  201.  
  202. # Add or remove space inside if-condition '(' and ')'.
  203. sp_inside_sparen                = remove   # ignore/add/remove/force
  204.  
  205. # Add or remove space before if-condition ')'. Overrides sp_inside_sparen.
  206. sp_inside_sparen_close          = ignore   # ignore/add/remove/force
  207.  
  208. # Add or remove space after if-condition '('. Overrides sp_inside_sparen.
  209. sp_inside_sparen_open           = ignore   # ignore/add/remove/force
  210.  
  211. # Add or remove space after ')' of 'if', 'for', 'switch', and 'while', etc.
  212. sp_after_sparen                 = ignore   # ignore/add/remove/force
  213.  
  214. # Add or remove space between ')' and '{' of 'if', 'for', 'switch', and 'while', etc.
  215. sp_sparen_brace                 = ignore   # ignore/add/remove/force
  216.  
  217. # Add or remove space between 'invariant' and '(' in the D language.
  218. sp_invariant_paren              = ignore   # ignore/add/remove/force
  219.  
  220. # Add or remove space after the ')' in 'invariant (C) c' in the D language.
  221. sp_after_invariant_paren        = ignore   # ignore/add/remove/force
  222.  
  223. # Add or remove space before empty statement ';' on 'if', 'for' and 'while'.
  224. sp_special_semi                 = ignore   # ignore/add/remove/force
  225.  
  226. # Add or remove space before ';'. Default=Remove.
  227. sp_before_semi                  = remove   # ignore/add/remove/force
  228.  
  229. # Add or remove space before ';' in non-empty 'for' statements.
  230. sp_before_semi_for              = ignore   # ignore/add/remove/force
  231.  
  232. # Add or remove space before a semicolon of an empty part of a for statement.
  233. sp_before_semi_for_empty        = ignore   # ignore/add/remove/force
  234.  
  235. # Add or remove space after ';', except when followed by a comment. Default=Add.
  236. sp_after_semi                   = add      # ignore/add/remove/force
  237.  
  238. # Add or remove space after ';' in non-empty 'for' statements. Default=Force.
  239. sp_after_semi_for               = force    # ignore/add/remove/force
  240.  
  241. # Add or remove space after the final semicolon of an empty part of a for statement: for ( ; ; <here> ).
  242. sp_after_semi_for_empty         = ignore   # ignore/add/remove/force
  243.  
  244. # Add or remove space before '[' (except '[]').
  245. sp_before_square                = ignore   # ignore/add/remove/force
  246.  
  247. # Add or remove space before '[]'.
  248. sp_before_squares               = ignore   # ignore/add/remove/force
  249.  
  250. # Add or remove space inside a non-empty '[' and ']'.
  251. sp_inside_square                = ignore   # ignore/add/remove/force
  252.  
  253. # Add or remove space after ',', 'a,b' vs 'a, b'.
  254. sp_after_comma                  = ignore   # ignore/add/remove/force
  255.  
  256. # Add or remove space before ','. Default=Remove.
  257. sp_before_comma                 = remove   # ignore/add/remove/force
  258.  
  259. # Add or remove space between ',' and ']' in multidimensional array type 'int[,,]'. Only for C#.
  260. sp_after_mdatype_commas         = ignore   # ignore/add/remove/force
  261.  
  262. # Add or remove space between '[' and ',' in multidimensional array type 'int[,,]'. Only for C#.
  263. sp_before_mdatype_commas        = ignore   # ignore/add/remove/force
  264.  
  265. # Add or remove space between ',' in multidimensional array type 'int[,,]'. Only for C#.
  266. sp_between_mdatype_commas       = ignore   # ignore/add/remove/force
  267.  
  268. # Add or remove space between an open paren and comma: '(,' vs '( ,'. Default=Force.
  269. sp_paren_comma                  = force    # ignore/add/remove/force
  270.  
  271. # Add or remove space before the variadic '...' when preceded by a non-punctuator.
  272. sp_before_ellipsis              = ignore   # ignore/add/remove/force
  273.  
  274. # Add or remove space after class ':'.
  275. sp_after_class_colon            = ignore   # ignore/add/remove/force
  276.  
  277. # Add or remove space before class ':'.
  278. sp_before_class_colon           = ignore   # ignore/add/remove/force
  279.  
  280. # Add or remove space after class constructor ':'.
  281. sp_after_constr_colon           = ignore   # ignore/add/remove/force
  282.  
  283. # Add or remove space before class constructor ':'.
  284. sp_before_constr_colon          = ignore   # ignore/add/remove/force
  285.  
  286. # Add or remove space before case ':'. Default=Remove.
  287. sp_before_case_colon            = remove   # ignore/add/remove/force
  288.  
  289. # Add or remove space between 'operator' and operator sign.
  290. sp_after_operator               = ignore   # ignore/add/remove/force
  291.  
  292. # Add or remove space between the operator symbol and the open paren, as in 'operator ++('.
  293. sp_after_operator_sym           = ignore   # ignore/add/remove/force
  294.  
  295. # Overrides sp_after_operator_sym when the operator has no arguments, as in 'operator *()'.
  296. sp_after_operator_sym_empty     = ignore   # ignore/add/remove/force
  297.  
  298. # Add or remove space after C/D cast, i.e. 'cast(int)a' vs 'cast(int) a' or '(int)a' vs '(int) a'.
  299. sp_after_cast                   = ignore   # ignore/add/remove/force
  300.  
  301. # Add or remove spaces inside cast parens.
  302. sp_inside_paren_cast            = ignore   # ignore/add/remove/force
  303.  
  304. # Add or remove space between the type and open paren in a C++ cast, i.e. 'int(exp)' vs 'int (exp)'.
  305. sp_cpp_cast_paren               = ignore   # ignore/add/remove/force
  306.  
  307. # Add or remove space between 'sizeof' and '('.
  308. sp_sizeof_paren                 = ignore   # ignore/add/remove/force
  309.  
  310. # Add or remove space after the tag keyword (Pawn).
  311. sp_after_tag                    = ignore   # ignore/add/remove/force
  312.  
  313. # Add or remove space inside enum '{' and '}'.
  314. sp_inside_braces_enum           = ignore   # ignore/add/remove/force
  315.  
  316. # Add or remove space inside struct/union '{' and '}'.
  317. sp_inside_braces_struct         = ignore   # ignore/add/remove/force
  318.  
  319. # Add or remove space after open brace in an unnamed temporary direct-list-initialization.
  320. sp_after_type_brace_init_lst_open = ignore   # ignore/add/remove/force
  321.  
  322. # Add or remove space before close brace in an unnamed temporary direct-list-initialization.
  323. sp_before_type_brace_init_lst_close = ignore   # ignore/add/remove/force
  324.  
  325. # Add or remove space inside an unnamed temporary direct-list-initialization.
  326. sp_inside_type_brace_init_lst   = ignore   # ignore/add/remove/force
  327.  
  328. # Add or remove space inside '{' and '}'.
  329. sp_inside_braces                = ignore   # ignore/add/remove/force
  330.  
  331. # Add or remove space inside '{}'.
  332. sp_inside_braces_empty          = ignore   # ignore/add/remove/force
  333.  
  334. # Add or remove space between return type and function name
  335. # A minimum of 1 is forced except for pointer return types.
  336. sp_type_func                    = ignore   # ignore/add/remove/force
  337.  
  338. # Add or remove space between type and open brace of an unnamed temporary direct-list-initialization.
  339. sp_type_brace_init_lst          = ignore   # ignore/add/remove/force
  340.  
  341. # Add or remove space between function name and '(' on function declaration.
  342. sp_func_proto_paren             = ignore   # ignore/add/remove/force
  343.  
  344. # Add or remove space between function name and '()' on function declaration without parameters.
  345. sp_func_proto_paren_empty       = ignore   # ignore/add/remove/force
  346.  
  347. # Add or remove space between function name and '(' on function definition.
  348. sp_func_def_paren               = ignore   # ignore/add/remove/force
  349.  
  350. # Add or remove space between function name and '()' on function definition without parameters.
  351. sp_func_def_paren_empty         = ignore   # ignore/add/remove/force
  352.  
  353. # Add or remove space inside empty function '()'.
  354. sp_inside_fparens               = ignore   # ignore/add/remove/force
  355.  
  356. # Add or remove space inside function '(' and ')'.
  357. sp_inside_fparen                = ignore   # ignore/add/remove/force
  358.  
  359. # Add or remove space inside the first parens in the function type: 'void (*x)(...)'.
  360. sp_inside_tparen                = ignore   # ignore/add/remove/force
  361.  
  362. # Add or remove between the parens in the function type: 'void (*x)(...)'.
  363. sp_after_tparen_close           = ignore   # ignore/add/remove/force
  364.  
  365. # Add or remove space between ']' and '(' when part of a function call.
  366. sp_square_fparen                = ignore   # ignore/add/remove/force
  367.  
  368. # Add or remove space between ')' and '{' of function.
  369. sp_fparen_brace                 = ignore   # ignore/add/remove/force
  370.  
  371. # Java: Add or remove space between ')' and '{{' of double brace initializer.
  372. sp_fparen_dbrace                = ignore   # ignore/add/remove/force
  373.  
  374. # Add or remove space between function name and '(' on function calls.
  375. sp_func_call_paren              = ignore   # ignore/add/remove/force
  376.  
  377. # Add or remove space between function name and '()' on function calls without parameters.
  378. # If set to 'ignore' (the default), sp_func_call_paren is used.
  379. sp_func_call_paren_empty        = ignore   # ignore/add/remove/force
  380.  
  381. # Add or remove space between the user function name and '(' on function calls
  382. # You need to set a keyword to be a user function, like this: 'set func_call_user _' in the config file.
  383. sp_func_call_user_paren         = ignore   # ignore/add/remove/force
  384.  
  385. # Add or remove space between a constructor/destructor and the open paren.
  386. sp_func_class_paren             = ignore   # ignore/add/remove/force
  387.  
  388. # Add or remove space between a constructor without parameters or destructor and '()'.
  389. sp_func_class_paren_empty       = ignore   # ignore/add/remove/force
  390.  
  391. # Add or remove space between 'return' and '('.
  392. sp_return_paren                 = ignore   # ignore/add/remove/force
  393.  
  394. # Add or remove space between '__attribute__' and '('.
  395. sp_attribute_paren              = ignore   # ignore/add/remove/force
  396.  
  397. # Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
  398. sp_defined_paren                = ignore   # ignore/add/remove/force
  399.  
  400. # Add or remove space between 'throw' and '(' in 'throw (something)'.
  401. sp_throw_paren                  = ignore   # ignore/add/remove/force
  402.  
  403. # Add or remove space between 'throw' and anything other than '(' as in '@throw [...];'.
  404. sp_after_throw                  = ignore   # ignore/add/remove/force
  405.  
  406. # Add or remove space between 'catch' and '(' in 'catch (something) { }'
  407. # If set to ignore, sp_before_sparen is used.
  408. sp_catch_paren                  = ignore   # ignore/add/remove/force
  409.  
  410. # Add or remove space between 'version' and '(' in 'version (something) { }' (D language)
  411. # If set to ignore, sp_before_sparen is used.
  412. sp_version_paren                = ignore   # ignore/add/remove/force
  413.  
  414. # Add or remove space between 'scope' and '(' in 'scope (something) { }' (D language)
  415. # If set to ignore, sp_before_sparen is used.
  416. sp_scope_paren                  = ignore   # ignore/add/remove/force
  417.  
  418. # Add or remove space between 'super' and '(' in 'super (something)'. Default=Remove.
  419. sp_super_paren                  = remove   # ignore/add/remove/force
  420.  
  421. # Add or remove space between 'this' and '(' in 'this (something)'. Default=Remove.
  422. sp_this_paren                   = remove   # ignore/add/remove/force
  423.  
  424. # Add or remove space between macro and value.
  425. sp_macro                        = ignore   # ignore/add/remove/force
  426.  
  427. # Add or remove space between macro function ')' and value.
  428. sp_macro_func                   = ignore   # ignore/add/remove/force
  429.  
  430. # Add or remove space between 'else' and '{' if on the same line.
  431. sp_else_brace                   = ignore   # ignore/add/remove/force
  432.  
  433. # Add or remove space between '}' and 'else' if on the same line.
  434. sp_brace_else                   = ignore   # ignore/add/remove/force
  435.  
  436. # Add or remove space between '}' and the name of a typedef on the same line.
  437. sp_brace_typedef                = ignore   # ignore/add/remove/force
  438.  
  439. # Add or remove space between 'catch' and '{' if on the same line.
  440. sp_catch_brace                  = ignore   # ignore/add/remove/force
  441.  
  442. # Add or remove space between '}' and 'catch' if on the same line.
  443. sp_brace_catch                  = ignore   # ignore/add/remove/force
  444.  
  445. # Add or remove space between 'finally' and '{' if on the same line.
  446. sp_finally_brace                = ignore   # ignore/add/remove/force
  447.  
  448. # Add or remove space between '}' and 'finally' if on the same line.
  449. sp_brace_finally                = ignore   # ignore/add/remove/force
  450.  
  451. # Add or remove space between 'try' and '{' if on the same line.
  452. sp_try_brace                    = ignore   # ignore/add/remove/force
  453.  
  454. # Add or remove space between get/set and '{' if on the same line.
  455. sp_getset_brace                 = ignore   # ignore/add/remove/force
  456.  
  457. # Add or remove space between a variable and '{' for C++ uniform initialization. Default=Add.
  458. sp_word_brace                   = add      # ignore/add/remove/force
  459.  
  460. # Add or remove space between a variable and '{' for a namespace. Default=Add.
  461. sp_word_brace_ns                = add      # ignore/add/remove/force
  462.  
  463. # Add or remove space before the '::' operator.
  464. sp_before_dc                    = ignore   # ignore/add/remove/force
  465.  
  466. # Add or remove space after the '::' operator.
  467. sp_after_dc                     = ignore   # ignore/add/remove/force
  468.  
  469. # Add or remove around the D named array initializer ':' operator.
  470. sp_d_array_colon                = ignore   # ignore/add/remove/force
  471.  
  472. # Add or remove space after the '!' (not) operator. Default=Remove.
  473. sp_not                          = remove   # ignore/add/remove/force
  474.  
  475. # Add or remove space after the '~' (invert) operator. Default=Remove.
  476. sp_inv                          = remove   # ignore/add/remove/force
  477.  
  478. # Add or remove space after the '&' (address-of) operator. Default=Remove
  479. # This does not affect the spacing after a '&' that is part of a type.
  480. sp_addr                         = remove   # ignore/add/remove/force
  481.  
  482. # Add or remove space around the '.' or '->' operators. Default=Remove.
  483. sp_member                       = remove   # ignore/add/remove/force
  484.  
  485. # Add or remove space after the '*' (dereference) operator. Default=Remove
  486. # This does not affect the spacing after a '*' that is part of a type.
  487. sp_deref                        = remove   # ignore/add/remove/force
  488.  
  489. # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'. Default=Remove.
  490. sp_sign                         = ignore      # ignore/add/remove/force
  491.  
  492. # Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'. Default=Remove.
  493. sp_incdec                       = remove   # ignore/add/remove/force
  494.  
  495. # Add or remove space before a backslash-newline at the end of a line. Default=Add.
  496. sp_before_nl_cont               = add      # ignore/add/remove/force
  497.  
  498. # Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'.
  499. sp_after_oc_scope               = ignore   # ignore/add/remove/force
  500.  
  501. # Add or remove space after the colon in message specs
  502. # '-(int) f:(int) x;' vs '-(int) f: (int) x;'.
  503. sp_after_oc_colon               = ignore   # ignore/add/remove/force
  504.  
  505. # Add or remove space before the colon in message specs
  506. # '-(int) f: (int) x;' vs '-(int) f : (int) x;'.
  507. sp_before_oc_colon              = ignore   # ignore/add/remove/force
  508.  
  509. # Add or remove space after the colon in immutable dictionary expression
  510. # 'NSDictionary *test = @{@"foo" :@"bar"};'.
  511. sp_after_oc_dict_colon          = ignore   # ignore/add/remove/force
  512.  
  513. # Add or remove space before the colon in immutable dictionary expression
  514. # 'NSDictionary *test = @{@"foo" :@"bar"};'.
  515. sp_before_oc_dict_colon         = ignore   # ignore/add/remove/force
  516.  
  517. # Add or remove space after the colon in message specs
  518. # '[object setValue:1];' vs '[object setValue: 1];'.
  519. sp_after_send_oc_colon          = ignore   # ignore/add/remove/force
  520.  
  521. # Add or remove space before the colon in message specs
  522. # '[object setValue:1];' vs '[object setValue :1];'.
  523. sp_before_send_oc_colon         = ignore   # ignore/add/remove/force
  524.  
  525. # Add or remove space after the (type) in message specs
  526. # '-(int)f: (int) x;' vs '-(int)f: (int)x;'.
  527. sp_after_oc_type                = ignore   # ignore/add/remove/force
  528.  
  529. # Add or remove space after the first (type) in message specs
  530. # '-(int) f:(int)x;' vs '-(int)f:(int)x;'.
  531. sp_after_oc_return_type         = ignore   # ignore/add/remove/force
  532.  
  533. # Add or remove space between '@selector' and '('
  534. # '@selector(msgName)' vs '@selector (msgName)'
  535. # Also applies to @protocol() constructs.
  536. sp_after_oc_at_sel              = ignore   # ignore/add/remove/force
  537.  
  538. # Add or remove space between '@selector(x)' and the following word
  539. # '@selector(foo) a:' vs '@selector(foo)a:'.
  540. sp_after_oc_at_sel_parens       = ignore   # ignore/add/remove/force
  541.  
  542. # Add or remove space inside '@selector' parens
  543. # '@selector(foo)' vs '@selector( foo )'
  544. # Also applies to @protocol() constructs.
  545. sp_inside_oc_at_sel_parens      = ignore   # ignore/add/remove/force
  546.  
  547. # Add or remove space before a block pointer caret
  548. # '^int (int arg){...}' vs. ' ^int (int arg){...}'.
  549. sp_before_oc_block_caret        = ignore   # ignore/add/remove/force
  550.  
  551. # Add or remove space after a block pointer caret
  552. # '^int (int arg){...}' vs. '^ int (int arg){...}'.
  553. sp_after_oc_block_caret         = ignore   # ignore/add/remove/force
  554.  
  555. # Add or remove space between the receiver and selector in a message.
  556. # '[receiver selector ...]'.
  557. sp_after_oc_msg_receiver        = ignore   # ignore/add/remove/force
  558.  
  559. # Add or remove space after @property.
  560. sp_after_oc_property            = ignore   # ignore/add/remove/force
  561.  
  562. # Add or remove space around the ':' in 'b ? t : f'.
  563. sp_cond_colon                   = ignore   # ignore/add/remove/force
  564.  
  565. # Add or remove space before the ':' in 'b ? t : f'. Overrides sp_cond_colon.
  566. sp_cond_colon_before            = ignore   # ignore/add/remove/force
  567.  
  568. # Add or remove space after the ':' in 'b ? t : f'. Overrides sp_cond_colon.
  569. sp_cond_colon_after             = ignore   # ignore/add/remove/force
  570.  
  571. # Add or remove space around the '?' in 'b ? t : f'.
  572. sp_cond_question                = ignore   # ignore/add/remove/force
  573.  
  574. # Add or remove space before the '?' in 'b ? t : f'. Overrides sp_cond_question.
  575. sp_cond_question_before         = ignore   # ignore/add/remove/force
  576.  
  577. # Add or remove space after the '?' in 'b ? t : f'. Overrides sp_cond_question.
  578. sp_cond_question_after          = ignore   # ignore/add/remove/force
  579.  
  580. # In the abbreviated ternary form (a ?: b), add/remove space between ? and :.'. Overrides all other sp_cond_* options.
  581. sp_cond_ternary_short           = ignore   # ignore/add/remove/force
  582.  
  583. # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
  584. sp_case_label                   = ignore   # ignore/add/remove/force
  585.  
  586. # Control the space around the D '..' operator.
  587. sp_range                        = ignore   # ignore/add/remove/force
  588.  
  589. # Control the spacing after ':' in 'for (TYPE VAR : EXPR)'. Only JAVA.
  590. sp_after_for_colon              = ignore   # ignore/add/remove/force
  591.  
  592. # Control the spacing before ':' in 'for (TYPE VAR : EXPR)'. Only JAVA.
  593. sp_before_for_colon             = ignore   # ignore/add/remove/force
  594.  
  595. # Control the spacing in 'extern (C)' (D).
  596. sp_extern_paren                 = ignore   # ignore/add/remove/force
  597.  
  598. # Control the space after the opening of a C++ comment '// A' vs '//A'.
  599. sp_cmt_cpp_start                = ignore   # ignore/add/remove/force
  600.  
  601. # True: If space is added with sp_cmt_cpp_start, do it after doxygen sequences like '///', '///<', '//!' and '//!<'.
  602. sp_cmt_cpp_doxygen              = false    # false/true
  603.  
  604. # True: If space is added with sp_cmt_cpp_start, do it after Qt translator or meta-data comments like '//:', '//=', and '//~'.
  605. sp_cmt_cpp_qttr                 = false    # false/true
  606.  
  607. # Controls the spaces between #else or #endif and a trailing comment.
  608. sp_endif_cmt                    = ignore   # ignore/add/remove/force
  609.  
  610. # Controls the spaces after 'new', 'delete' and 'delete[]'.
  611. sp_after_new                    = ignore   # ignore/add/remove/force
  612.  
  613. # Controls the spaces between new and '(' in 'new()'.
  614. sp_between_new_paren            = ignore   # ignore/add/remove/force
  615.  
  616. # Controls the spaces between ')' and 'type' in 'new(foo) BAR'.
  617. sp_after_newop_paren            = ignore   # ignore/add/remove/force
  618.  
  619. # Controls the spaces inside paren of the new operator: 'new(foo) BAR'.
  620. sp_inside_newop_paren           = ignore   # ignore/add/remove/force
  621.  
  622. # Controls the space after open paren of the new operator: 'new(foo) BAR'.
  623. # Overrides sp_inside_newop_paren.
  624. sp_inside_newop_paren_open      = ignore   # ignore/add/remove/force
  625.  
  626. # Controls the space before close paren of the new operator: 'new(foo) BAR'.
  627. # Overrides sp_inside_newop_paren.
  628. sp_inside_newop_paren_close     = ignore   # ignore/add/remove/force
  629.  
  630. # Controls the spaces before a trailing or embedded comment.
  631. sp_before_tr_emb_cmt            = ignore   # ignore/add/remove/force
  632.  
  633. # Number of spaces before a trailing or embedded comment.
  634. sp_num_before_tr_emb_cmt        = 0        # unsigned number
  635.  
  636. # Control space between a Java annotation and the open paren.
  637. sp_annotation_paren             = ignore   # ignore/add/remove/force
  638.  
  639. # If True, vbrace tokens are dropped to the previous token and skipped.
  640. sp_skip_vbrace_tokens           = false    # false/true
  641.  
  642. # If True, a <TAB> is inserted after #define.
  643. force_tab_after_define          = false    # false/true
  644.  
  645. #
  646. # Indenting
  647. #
  648.  
  649. # The number of columns to indent per level.
  650. # Usually 2, 3, 4, or 8. Default=8.
  651. indent_columns                  = 4        # unsigned number
  652.  
  653. # The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
  654. # For FreeBSD, this is set to 4. Negative value is absolute and not increased for each '(' level.
  655. indent_continue                 = 0        # number
  656.  
  657. # The continuation indent for func_*_param if they are true.
  658. # If non-zero, this overrides the indent.
  659. indent_param                    = 0        # unsigned number
  660.  
  661. # How to use tabs when indenting code
  662. # 0=spaces only
  663. # 1=indent with tabs to brace level, align with spaces (default)
  664. # 2=indent and align with tabs, using spaces when not on a tabstop
  665. indent_with_tabs                = 0        # unsigned number
  666.  
  667. # Comments that are not a brace level are indented with tabs on a tabstop.
  668. # Requires indent_with_tabs=2. If false, will use spaces.
  669. indent_cmt_with_tabs            = false    # false/true
  670.  
  671. # Whether to indent strings broken by '\' so that they line up.
  672. indent_align_string             = false    # false/true
  673.  
  674. # The number of spaces to indent multi-line XML strings.
  675. # Requires indent_align_string=True.
  676. indent_xml_string               = 0        # unsigned number
  677.  
  678. # Spaces to indent '{' from level.
  679. indent_brace                    = 0        # unsigned number
  680.  
  681. # Whether braces are indented to the body level.
  682. indent_braces                   = false    # false/true
  683.  
  684. # Disabled indenting function braces if indent_braces is True.
  685. indent_braces_no_func           = false    # false/true
  686.  
  687. # Disabled indenting class braces if indent_braces is True.
  688. indent_braces_no_class          = false    # false/true
  689.  
  690. # Disabled indenting struct braces if indent_braces is True.
  691. indent_braces_no_struct         = false    # false/true
  692.  
  693. # Indent based on the size of the brace parent, i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
  694. indent_brace_parent             = false    # false/true
  695.  
  696. # Indent based on the paren open instead of the brace open in '({\n', default is to indent by brace.
  697. indent_paren_open_brace         = false    # false/true
  698.  
  699. # indent a C# delegate by another level, default is to not indent by another level.
  700. indent_cs_delegate_brace        = false    # false/true
  701.  
  702. # Whether the 'namespace' body is indented.
  703. indent_namespace                = false    # false/true
  704.  
  705. # Only indent one namespace and no sub-namespaces.
  706. # Requires indent_namespace=True.
  707. indent_namespace_single_indent  = false    # false/true
  708.  
  709. # The number of spaces to indent a namespace block.
  710. indent_namespace_level          = 0        # unsigned number
  711.  
  712. # If the body of the namespace is longer than this number, it won't be indented.
  713. # Requires indent_namespace=True. Default=0 (no limit)
  714. indent_namespace_limit          = 0        # unsigned number
  715.  
  716. # Whether the 'extern "C"' body is indented.
  717. indent_extern                   = false    # false/true
  718.  
  719. # Whether the 'class' body is indented.
  720. indent_class                    = false    # false/true
  721.  
  722. # Whether to indent the stuff after a leading base class colon.
  723. indent_class_colon              = false    # false/true
  724.  
  725. # Indent based on a class colon instead of the stuff after the colon.
  726. # Requires indent_class_colon=True. Default=False.
  727. indent_class_on_colon           = false    # false/true
  728.  
  729. # Whether to indent the stuff after a leading class initializer colon.
  730. indent_constr_colon             = false    # false/true
  731.  
  732. # Virtual indent from the ':' for member initializers. Default=2.
  733. indent_ctor_init_leading        = 2        # unsigned number
  734.  
  735. # Additional indent for constructor initializer list.
  736. # Negative values decrease indent down to the first column. Default=0.
  737. indent_ctor_init                = 0        # number
  738.  
  739. # False=treat 'else\nif' as 'else if' for indenting purposes
  740. # True=indent the 'if' one level.
  741. indent_else_if                  = false    # false/true
  742.  
  743. # Amount to indent variable declarations after a open brace. neg=relative, pos=absolute.
  744. indent_var_def_blk              = 0        # number
  745.  
  746. # Indent continued variable declarations instead of aligning.
  747. indent_var_def_cont             = false    # false/true
  748.  
  749. # Indent continued shift expressions ('<<' and '>>') instead of aligning.
  750. # Turn align_left_shift off when enabling this.
  751. indent_shift                    = false    # false/true
  752.  
  753. # True:  force indentation of function definition to start in column 1
  754. # False: use the default behavior.
  755. indent_func_def_force_col1      = false    # false/true
  756.  
  757. # True:  indent continued function call parameters one indent level
  758. # False: align parameters under the open paren.
  759. indent_func_call_param          = false    # false/true
  760.  
  761. # Same as indent_func_call_param, but for function defs.
  762. indent_func_def_param           = false    # false/true
  763.  
  764. # Same as indent_func_call_param, but for function protos.
  765. indent_func_proto_param         = false    # false/true
  766.  
  767. # Same as indent_func_call_param, but for class declarations.
  768. indent_func_class_param         = false    # false/true
  769.  
  770. # Same as indent_func_call_param, but for class variable constructors.
  771. indent_func_ctor_var_param      = false    # false/true
  772.  
  773. # Same as indent_func_call_param, but for templates.
  774. indent_template_param           = false    # false/true
  775.  
  776. # Double the indent for indent_func_xxx_param options.
  777. # Use both values of the options indent_columns and indent_param.
  778. indent_func_param_double        = false    # false/true
  779.  
  780. # Indentation column for standalone 'const' function decl/proto qualifier.
  781. indent_func_const               = 0        # unsigned number
  782.  
  783. # Indentation column for standalone 'throw' function decl/proto qualifier.
  784. indent_func_throw               = 0        # unsigned number
  785.  
  786. # The number of spaces to indent a continued '->' or '.'
  787. # Usually set to 0, 1, or indent_columns.
  788. indent_member                   = 0        # unsigned number
  789.  
  790. # Spaces to indent single line ('//') comments on lines before code.
  791. indent_sing_line_comments       = 0        # unsigned number
  792.  
  793. # If set, will indent trailing single line ('//') comments relative
  794. # to the code instead of trying to keep the same absolute column.
  795. indent_relative_single_line_comments = false    # false/true
  796.  
  797. # Spaces to indent 'case' from 'switch'
  798. # Usually 0 or indent_columns.
  799. indent_switch_case              = 4        # unsigned number
  800.  
  801. # Whether to indent preproccesor statements inside of switch statements.
  802. indent_switch_pp                = true     # false/true
  803.  
  804. # Spaces to shift the 'case' line, without affecting any other lines
  805. # Usually 0.
  806. indent_case_shift               = 0        # unsigned number
  807.  
  808. # Spaces to indent '{' from 'case'.
  809. # By default, the brace will appear under the 'c' in case.
  810. # Usually set to 0 or indent_columns.
  811. # negative value are OK.
  812. indent_case_brace               = 0        # number
  813.  
  814. # Whether to indent comments found in first column.
  815. indent_col1_comment             = false    # false/true
  816.  
  817. # How to indent goto labels
  818. #   >0: absolute column where 1 is the leftmost column
  819. #  <=0: subtract from brace indent
  820. # Default=1
  821. indent_label                    = 1        # number
  822.  
  823. # Same as indent_label, but for access specifiers that are followed by a colon. Default=1
  824. indent_access_spec              = 1        # number
  825.  
  826. # Indent the code after an access specifier by one level.
  827. # If set, this option forces 'indent_access_spec=0'.
  828. indent_access_spec_body         = false    # false/true
  829.  
  830. # If an open paren is followed by a newline, indent the next line so that it lines up after the open paren (not recommended).
  831. indent_paren_nl                 = false    # false/true
  832.  
  833. # Controls the indent of a close paren after a newline.
  834. # 0: Indent to body level
  835. # 1: Align under the open paren
  836. # 2: Indent to the brace level
  837. indent_paren_close              = 0        # unsigned number
  838.  
  839. # Controls the indent of the open paren of a function definition, if on it's own line.If True, indents the open paren
  840. indent_paren_after_func_def     = false    # false/true
  841.  
  842. # Controls the indent of the open paren of a function declaration, if on it's own line.If True, indents the open paren
  843. indent_paren_after_func_decl    = false    # false/true
  844.  
  845. # Controls the indent of the open paren of a function call, if on it's own line.If True, indents the open paren
  846. indent_paren_after_func_call    = false    # false/true
  847.  
  848. # Controls the indent of a comma when inside a paren.If True, aligns under the open paren.
  849. indent_comma_paren              = false    # false/true
  850.  
  851. # Controls the indent of a BOOL operator when inside a paren.If True, aligns under the open paren.
  852. indent_bool_paren               = false    # false/true
  853.  
  854. # If 'indent_bool_paren' is True, controls the indent of the first expression. If True, aligns the first expression to the following ones.
  855. indent_first_bool_expr          = false    # false/true
  856.  
  857. # If an open square is followed by a newline, indent the next line so that it lines up after the open square (not recommended).
  858. indent_square_nl                = false    # false/true
  859.  
  860. # Don't change the relative indent of ESQL/C 'EXEC SQL' bodies.
  861. indent_preserve_sql             = false    # false/true
  862.  
  863. # Align continued statements at the '='. Default=True
  864. # If False or the '=' is followed by a newline, the next line is indent one tab.
  865. indent_align_assign             = true     # false/true
  866.  
  867. # Indent OC blocks at brace level instead of usual rules.
  868. indent_oc_block                 = false    # false/true
  869.  
  870. # Indent OC blocks in a message relative to the parameter name.
  871. # 0=use indent_oc_block rules, 1+=spaces to indent
  872. indent_oc_block_msg             = 0        # unsigned number
  873.  
  874. # Minimum indent for subsequent parameters
  875. indent_oc_msg_colon             = 0        # unsigned number
  876.  
  877. # If True, prioritize aligning with initial colon (and stripping spaces from lines, if necessary).
  878. # Default=True.
  879. indent_oc_msg_prioritize_first_colon = true     # false/true
  880.  
  881. # If indent_oc_block_msg and this option are on, blocks will be indented the way that Xcode does by default (from keyword if the parameter is on its own line; otherwise, from the previous indentation level).
  882. indent_oc_block_msg_xcode_style = false    # false/true
  883.  
  884. # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg keyword.
  885. indent_oc_block_msg_from_keyword = false    # false/true
  886.  
  887. # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg colon.
  888. indent_oc_block_msg_from_colon  = false    # false/true
  889.  
  890. # If indent_oc_block_msg and this option are on, blocks will be indented from where the block caret is.
  891. indent_oc_block_msg_from_caret  = false    # false/true
  892.  
  893. # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is.
  894. indent_oc_block_msg_from_brace  = false    # false/true
  895.  
  896. # When identing after virtual brace open and newline add further spaces to reach this min. indent.
  897. indent_min_vbrace_open          = 0        # unsigned number
  898.  
  899. # True: When identing after virtual brace open and newline add further spaces after regular indent to reach next tabstop.
  900. indent_vbrace_open_on_tabstop   = false    # false/true
  901.  
  902. # If True, a brace followed by another token (not a newline) will indent all contained lines to match the token.Default=True.
  903. indent_token_after_brace        = true     # false/true
  904.  
  905. # If True, cpp lambda body will be indentedDefault=False.
  906. indent_cpp_lambda_body          = false    # false/true
  907.  
  908. # indent (or not) an using block if no braces are used. Only for C#.Default=True.
  909. indent_using_block              = true     # false/true
  910.  
  911. # indent the continuation of ternary operator.
  912. # 0: (Default) off
  913. # 1: When the `if_false` is a continuation, indent it under `if_false`
  914. # 2: When the `:` is a continuation, indent it under `?`
  915. indent_ternary_operator         = 0        # unsigned number
  916.  
  917. # If true, ignore indent and align for asm blocks as they have their own indentation.
  918. indent_ignore_asm_block         = false    # false/true
  919.  
  920. #
  921. # Newline adding and removing options
  922. #
  923.  
  924. # Whether to collapse empty blocks between '{' and '}'.
  925. nl_collapse_empty_body          = false    # false/true
  926.  
  927. # Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'.
  928. nl_assign_leave_one_liners      = false    # false/true
  929.  
  930. # Don't split one-line braced statements inside a class xx { } body.
  931. nl_class_leave_one_liners       = false    # false/true
  932.  
  933. # Don't split one-line enums: 'enum foo { BAR = 15 };'
  934. nl_enum_leave_one_liners        = false    # false/true
  935.  
  936. # Don't split one-line get or set functions.
  937. nl_getset_leave_one_liners      = false    # false/true
  938.  
  939. # Don't split one-line function definitions - 'int foo() { return 0; }'.
  940. nl_func_leave_one_liners        = false    # false/true
  941.  
  942. # Don't split one-line C++11 lambdas - '[]() { return 0; }'.
  943. nl_cpp_lambda_leave_one_liners  = false    # false/true
  944.  
  945. # Don't split one-line if/else statements - 'if(a) b++;'.
  946. nl_if_leave_one_liners          = false    # false/true
  947.  
  948. # Don't split one-line while statements - 'while(a) b++;'.
  949. nl_while_leave_one_liners       = false    # false/true
  950.  
  951. # Don't split one-line OC messages.
  952. nl_oc_msg_leave_one_liner       = false    # false/true
  953.  
  954. # Add or remove newline between Objective-C block signature and '{'.
  955. nl_oc_block_brace               = ignore   # ignore/add/remove/force
  956.  
  957. # Add or remove newlines at the start of the file.
  958. nl_start_of_file                = ignore   # ignore/add/remove/force
  959.  
  960. # The number of newlines at the start of the file (only used if nl_start_of_file is 'add' or 'force'.
  961. nl_start_of_file_min            = 0        # unsigned number
  962.  
  963. # Add or remove newline at the end of the file.
  964. nl_end_of_file                  = ignore   # ignore/add/remove/force
  965.  
  966. # The number of newlines at the end of the file (only used if nl_end_of_file is 'add' or 'force').
  967. nl_end_of_file_min              = 0        # unsigned number
  968.  
  969. # Add or remove newline between '=' and '{'.
  970. nl_assign_brace                 = ignore   # ignore/add/remove/force
  971.  
  972. # Add or remove newline between '=' and '[' (D only).
  973. nl_assign_square                = ignore   # ignore/add/remove/force
  974.  
  975. # Add or remove newline after '= [' (D only). Will also affect the newline before the ']'.
  976. nl_after_square_assign          = ignore   # ignore/add/remove/force
  977.  
  978. # The number of blank lines after a block of variable definitions at the top of a function body
  979. # 0 = No change (default).
  980. nl_func_var_def_blk             = 0        # unsigned number
  981.  
  982. # The number of newlines before a block of typedefs
  983. # 0 = No change (default)
  984. # is overridden by the option 'nl_after_access_spec'.
  985. nl_typedef_blk_start            = 0        # unsigned number
  986.  
  987. # The number of newlines after a block of typedefs
  988. # 0 = No change (default).
  989. nl_typedef_blk_end              = 0        # unsigned number
  990.  
  991. # The maximum consecutive newlines within a block of typedefs
  992. # 0 = No change (default).
  993. nl_typedef_blk_in               = 0        # unsigned number
  994.  
  995. # The number of newlines before a block of variable definitions not at the top of a function body
  996. # 0 = No change (default)
  997. # is overridden by the option 'nl_after_access_spec'.
  998. nl_var_def_blk_start            = 0        # unsigned number
  999.  
  1000. # The number of newlines after a block of variable definitions not at the top of a function body
  1001. # 0 = No change (default).
  1002. nl_var_def_blk_end              = 0        # unsigned number
  1003.  
  1004. # The maximum consecutive newlines within a block of variable definitions
  1005. # 0 = No change (default).
  1006. nl_var_def_blk_in               = 0        # unsigned number
  1007.  
  1008. # Add or remove newline between a function call's ')' and '{', as in:
  1009. # list_for_each(item, &list) { }.
  1010. nl_fcall_brace                  = ignore   # ignore/add/remove/force
  1011.  
  1012. # Add or remove newline between 'enum' and '{'.
  1013. nl_enum_brace                   = ignore   # ignore/add/remove/force
  1014.  
  1015. # Add or remove newline between 'enum' and 'class'.
  1016. nl_enum_class                   = ignore   # ignore/add/remove/force
  1017.  
  1018. # Add or remove newline between 'enum class' and the identifier.
  1019. nl_enum_class_identifier        = ignore   # ignore/add/remove/force
  1020.  
  1021. # Add or remove newline between 'enum class' type and ':'.
  1022. nl_enum_identifier_colon        = ignore   # ignore/add/remove/force
  1023.  
  1024. # Add or remove newline between 'enum class identifier :' and 'type' and/or 'type'.
  1025. nl_enum_colon_type              = ignore   # ignore/add/remove/force
  1026.  
  1027. # Add or remove newline between 'struct and '{'.
  1028. nl_struct_brace                 = ignore   # ignore/add/remove/force
  1029.  
  1030. # Add or remove newline between 'union' and '{'.
  1031. nl_union_brace                  = ignore   # ignore/add/remove/force
  1032.  
  1033. # Add or remove newline between 'if' and '{'.
  1034. nl_if_brace                     = ignore   # ignore/add/remove/force
  1035.  
  1036. # Add or remove newline between '}' and 'else'.
  1037. nl_brace_else                   = ignore   # ignore/add/remove/force
  1038.  
  1039. # Add or remove newline between 'else if' and '{'
  1040. # If set to ignore, nl_if_brace is used instead.
  1041. nl_elseif_brace                 = ignore   # ignore/add/remove/force
  1042.  
  1043. # Add or remove newline between 'else' and '{'.
  1044. nl_else_brace                   = ignore   # ignore/add/remove/force
  1045.  
  1046. # Add or remove newline between 'else' and 'if'.
  1047. nl_else_if                      = ignore   # ignore/add/remove/force
  1048.  
  1049. # Add or remove newline before 'if'/'else if' closing parenthesis.
  1050. nl_before_if_closing_paren      = ignore   # ignore/add/remove/force
  1051.  
  1052. # Add or remove newline between '}' and 'finally'.
  1053. nl_brace_finally                = ignore   # ignore/add/remove/force
  1054.  
  1055. # Add or remove newline between 'finally' and '{'.
  1056. nl_finally_brace                = ignore   # ignore/add/remove/force
  1057.  
  1058. # Add or remove newline between 'try' and '{'.
  1059. nl_try_brace                    = ignore   # ignore/add/remove/force
  1060.  
  1061. # Add or remove newline between get/set and '{'.
  1062. nl_getset_brace                 = ignore   # ignore/add/remove/force
  1063.  
  1064. # Add or remove newline between 'for' and '{'.
  1065. nl_for_brace                    = ignore   # ignore/add/remove/force
  1066.  
  1067. # Add or remove newline between 'catch' and '{'.
  1068. nl_catch_brace                  = ignore   # ignore/add/remove/force
  1069.  
  1070. # Add or remove newline between '}' and 'catch'.
  1071. nl_brace_catch                  = ignore   # ignore/add/remove/force
  1072.  
  1073. # Add or remove newline between '}' and ']'.
  1074. nl_brace_square                 = ignore   # ignore/add/remove/force
  1075.  
  1076. # Add or remove newline between '}' and ')' in a function invocation.
  1077. nl_brace_fparen                 = ignore   # ignore/add/remove/force
  1078.  
  1079. # Add or remove newline between 'while' and '{'.
  1080. nl_while_brace                  = ignore   # ignore/add/remove/force
  1081.  
  1082. # Add or remove newline between 'scope (x)' and '{' (D).
  1083. nl_scope_brace                  = ignore   # ignore/add/remove/force
  1084.  
  1085. # Add or remove newline between 'unittest' and '{' (D).
  1086. nl_unittest_brace               = ignore   # ignore/add/remove/force
  1087.  
  1088. # Add or remove newline between 'version (x)' and '{' (D).
  1089. nl_version_brace                = ignore   # ignore/add/remove/force
  1090.  
  1091. # Add or remove newline between 'using' and '{'.
  1092. nl_using_brace                  = ignore   # ignore/add/remove/force
  1093.  
  1094. # Add or remove newline between two open or close braces.
  1095. # Due to general newline/brace handling, REMOVE may not work.
  1096. nl_brace_brace                  = ignore   # ignore/add/remove/force
  1097.  
  1098. # Add or remove newline between 'do' and '{'.
  1099. nl_do_brace                     = ignore   # ignore/add/remove/force
  1100.  
  1101. # Add or remove newline between '}' and 'while' of 'do' statement.
  1102. nl_brace_while                  = ignore   # ignore/add/remove/force
  1103.  
  1104. # Add or remove newline between 'switch' and '{'.
  1105. nl_switch_brace                 = ignore   # ignore/add/remove/force
  1106.  
  1107. # Add or remove newline between 'synchronized' and '{'.
  1108. nl_synchronized_brace           = ignore   # ignore/add/remove/force
  1109.  
  1110. # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc.
  1111. # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch and nl_catch_brace.
  1112. nl_multi_line_cond              = false    # false/true
  1113.  
  1114. # Force a newline in a define after the macro name for multi-line defines.
  1115. nl_multi_line_define            = false    # false/true
  1116.  
  1117. # Whether to put a newline before 'case' statement, not after the first 'case'.
  1118. nl_before_case                  = false    # false/true
  1119.  
  1120. # Add or remove newline between ')' and 'throw'.
  1121. nl_before_throw                 = ignore   # ignore/add/remove/force
  1122.  
  1123. # Whether to put a newline after 'case' statement.
  1124. nl_after_case                   = false    # false/true
  1125.  
  1126. # Add or remove a newline between a case ':' and '{'. Overrides nl_after_case.
  1127. nl_case_colon_brace             = ignore   # ignore/add/remove/force
  1128.  
  1129. # Newline between namespace and {.
  1130. nl_namespace_brace              = ignore   # ignore/add/remove/force
  1131.  
  1132. # Add or remove newline between 'template<>' and whatever follows.
  1133. nl_template_class               = ignore   # ignore/add/remove/force
  1134.  
  1135. # Add or remove newline between 'class' and '{'.
  1136. nl_class_brace                  = ignore   # ignore/add/remove/force
  1137.  
  1138. # Add or remove newline before/after each ',' in the base class list,
  1139. #   (tied to pos_class_comma).
  1140. nl_class_init_args              = ignore   # ignore/add/remove/force
  1141.  
  1142. # Add or remove newline after each ',' in the constructor member initialization.
  1143. # Related to nl_constr_colon, pos_constr_colon and pos_constr_comma.
  1144. nl_constr_init_args             = ignore   # ignore/add/remove/force
  1145.  
  1146. # Add or remove newline before first element, after comma, and after last element in enum.
  1147. nl_enum_own_lines               = ignore   # ignore/add/remove/force
  1148.  
  1149. # Add or remove newline between return type and function name in a function definition.
  1150. nl_func_type_name               = ignore   # ignore/add/remove/force
  1151.  
  1152. # Add or remove newline between return type and function name inside a class {}
  1153. # Uses nl_func_type_name or nl_func_proto_type_name if set to ignore.
  1154. nl_func_type_name_class         = ignore   # ignore/add/remove/force
  1155.  
  1156. # Add or remove newline between class specification and '::' in 'void A::f() { }'
  1157. # Only appears in separate member implementation (does not appear with in-line implmementation).
  1158. nl_func_class_scope             = ignore   # ignore/add/remove/force
  1159.  
  1160. # Add or remove newline between function scope and name
  1161. # Controls the newline after '::' in 'void A::f() { }'.
  1162. nl_func_scope_name              = ignore   # ignore/add/remove/force
  1163.  
  1164. # Add or remove newline between return type and function name in a prototype.
  1165. nl_func_proto_type_name         = ignore   # ignore/add/remove/force
  1166.  
  1167. # Add or remove newline between a function name and the opening '(' in the declaration.
  1168. nl_func_paren                   = ignore   # ignore/add/remove/force
  1169.  
  1170. # Overrides nl_func_paren for functions with no parameters.
  1171. nl_func_paren_empty             = ignore   # ignore/add/remove/force
  1172.  
  1173. # Add or remove newline between a function name and the opening '(' in the definition.
  1174. nl_func_def_paren               = ignore   # ignore/add/remove/force
  1175.  
  1176. # Overrides nl_func_def_paren for functions with no parameters.
  1177. nl_func_def_paren_empty         = ignore   # ignore/add/remove/force
  1178.  
  1179. # Add or remove newline between a function name and the opening '(' in the call
  1180. nl_func_call_paren              = ignore   # ignore/add/remove/force
  1181.  
  1182. # Overrides nl_func_call_paren for functions with no parameters.
  1183. nl_func_call_paren_empty        = ignore   # ignore/add/remove/force
  1184.  
  1185. # Add or remove newline after '(' in a function declaration.
  1186. nl_func_decl_start              = ignore   # ignore/add/remove/force
  1187.  
  1188. # Add or remove newline after '(' in a function definition.
  1189. nl_func_def_start               = ignore   # ignore/add/remove/force
  1190.  
  1191. # Overrides nl_func_decl_start when there is only one parameter.
  1192. nl_func_decl_start_single       = ignore   # ignore/add/remove/force
  1193.  
  1194. # Overrides nl_func_def_start when there is only one parameter.
  1195. nl_func_def_start_single        = ignore   # ignore/add/remove/force
  1196.  
  1197. # Whether to add newline after '(' in a function declaration if '(' and ')' are in different lines.
  1198. nl_func_decl_start_multi_line   = false    # false/true
  1199.  
  1200. # Whether to add newline after '(' in a function definition if '(' and ')' are in different lines.
  1201. nl_func_def_start_multi_line    = false    # false/true
  1202.  
  1203. # Add or remove newline after each ',' in a function declaration.
  1204. nl_func_decl_args               = ignore   # ignore/add/remove/force
  1205.  
  1206. # Add or remove newline after each ',' in a function definition.
  1207. nl_func_def_args                = ignore   # ignore/add/remove/force
  1208.  
  1209. # Whether to add newline after each ',' in a function declaration if '(' and ')' are in different lines.
  1210. nl_func_decl_args_multi_line    = false    # false/true
  1211.  
  1212. # Whether to add newline after each ',' in a function definition if '(' and ')' are in different lines.
  1213. nl_func_def_args_multi_line     = false    # false/true
  1214.  
  1215. # Add or remove newline before the ')' in a function declaration.
  1216. nl_func_decl_end                = ignore   # ignore/add/remove/force
  1217.  
  1218. # Add or remove newline before the ')' in a function definition.
  1219. nl_func_def_end                 = ignore   # ignore/add/remove/force
  1220.  
  1221. # Overrides nl_func_decl_end when there is only one parameter.
  1222. nl_func_decl_end_single         = ignore   # ignore/add/remove/force
  1223.  
  1224. # Overrides nl_func_def_end when there is only one parameter.
  1225. nl_func_def_end_single          = ignore   # ignore/add/remove/force
  1226.  
  1227. # Whether to add newline before ')' in a function declaration if '(' and ')' are in different lines.
  1228. nl_func_decl_end_multi_line     = false    # false/true
  1229.  
  1230. # Whether to add newline before ')' in a function definition if '(' and ')' are in different lines.
  1231. nl_func_def_end_multi_line      = false    # false/true
  1232.  
  1233. # Add or remove newline between '()' in a function declaration.
  1234. nl_func_decl_empty              = ignore   # ignore/add/remove/force
  1235.  
  1236. # Add or remove newline between '()' in a function definition.
  1237. nl_func_def_empty               = ignore   # ignore/add/remove/force
  1238.  
  1239. # Add or remove newline between '()' in a function call.
  1240. nl_func_call_empty              = ignore   # ignore/add/remove/force
  1241.  
  1242. # Whether to add newline after '(' in a function call if '(' and ')' are in different lines.
  1243. nl_func_call_start_multi_line   = false    # false/true
  1244.  
  1245. # Whether to add newline after each ',' in a function call if '(' and ')' are in different lines.
  1246. nl_func_call_args_multi_line    = false    # false/true
  1247.  
  1248. # Whether to add newline before ')' in a function call if '(' and ')' are in different lines.
  1249. nl_func_call_end_multi_line     = false    # false/true
  1250.  
  1251. # Whether to put each OC message parameter on a separate line
  1252. # See nl_oc_msg_leave_one_liner.
  1253. nl_oc_msg_args                  = false    # false/true
  1254.  
  1255. # Add or remove newline between function signature and '{'.
  1256. nl_fdef_brace                   = add   # ignore/add/remove/force
  1257.  
  1258. # Add or remove newline between C++11 lambda signature and '{'.
  1259. nl_cpp_ldef_brace               = ignore   # ignore/add/remove/force
  1260.  
  1261. # Add or remove a newline between the return keyword and return expression.
  1262. nl_return_expr                  = ignore   # ignore/add/remove/force
  1263.  
  1264. # Whether to put a newline after semicolons, except in 'for' statements.
  1265. nl_after_semicolon              = false    # false/true
  1266.  
  1267. # Java: Control the newline between the ')' and '{{' of the double brace initializer.
  1268. nl_paren_dbrace_open            = ignore   # ignore/add/remove/force
  1269.  
  1270. # Whether to put a newline after the type in an unnamed temporary direct-list-initialization.
  1271. nl_type_brace_init_lst          = ignore   # ignore/add/remove/force
  1272.  
  1273. # Whether to put a newline after open brace in an unnamed temporary direct-list-initialization.
  1274. nl_type_brace_init_lst_open     = ignore   # ignore/add/remove/force
  1275.  
  1276. # Whether to put a newline before close brace in an unnamed temporary direct-list-initialization.
  1277. nl_type_brace_init_lst_close    = ignore   # ignore/add/remove/force
  1278.  
  1279. # Whether to put a newline after brace open.
  1280. # This also adds a newline before the matching brace close.
  1281. nl_after_brace_open             = false    # false/true
  1282.  
  1283. # If nl_after_brace_open and nl_after_brace_open_cmt are True, a newline is
  1284. # placed between the open brace and a trailing single-line comment.
  1285. nl_after_brace_open_cmt         = false    # false/true
  1286.  
  1287. # Whether to put a newline after a virtual brace open with a non-empty body.
  1288. # These occur in un-braced if/while/do/for statement bodies.
  1289. nl_after_vbrace_open            = false    # false/true
  1290.  
  1291. # Whether to put a newline after a virtual brace open with an empty body.
  1292. # These occur in un-braced if/while/do/for statement bodies.
  1293. nl_after_vbrace_open_empty      = false    # false/true
  1294.  
  1295. # Whether to put a newline after a brace close.
  1296. # Does not apply if followed by a necessary ';'.
  1297. nl_after_brace_close            = false    # false/true
  1298.  
  1299. # Whether to put a newline after a virtual brace close.
  1300. # Would add a newline before return in: 'if (foo) a++; return;'.
  1301. nl_after_vbrace_close           = false    # false/true
  1302.  
  1303. # Control the newline between the close brace and 'b' in: 'struct { int a; } b;'
  1304. # Affects enums, unions and structures. If set to ignore, uses nl_after_brace_close.
  1305. nl_brace_struct_var             = ignore   # ignore/add/remove/force
  1306.  
  1307. # Whether to alter newlines in '#define' macros.
  1308. nl_define_macro                 = false    # false/true
  1309.  
  1310. # Whether to remove blanks after '#ifxx' and '#elxx', or before '#elxx' and '#endif'. Does not affect top-level #ifdefs.
  1311. nl_squeeze_ifdef                = false    # false/true
  1312.  
  1313. # Makes the nl_squeeze_ifdef option affect the top-level #ifdefs as well.
  1314. nl_squeeze_ifdef_top_level      = false    # false/true
  1315.  
  1316. # Add or remove blank line before 'if'.
  1317. nl_before_if                    = ignore   # ignore/add/remove/force
  1318.  
  1319. # Add or remove blank line after 'if' statement.
  1320. # Add/Force work only if the next token is not a closing brace.
  1321. nl_after_if                     = ignore   # ignore/add/remove/force
  1322.  
  1323. # Add or remove blank line before 'for'.
  1324. nl_before_for                   = ignore   # ignore/add/remove/force
  1325.  
  1326. # Add or remove blank line after 'for' statement.
  1327. nl_after_for                    = ignore   # ignore/add/remove/force
  1328.  
  1329. # Add or remove blank line before 'while'.
  1330. nl_before_while                 = ignore   # ignore/add/remove/force
  1331.  
  1332. # Add or remove blank line after 'while' statement.
  1333. nl_after_while                  = ignore   # ignore/add/remove/force
  1334.  
  1335. # Add or remove blank line before 'switch'.
  1336. nl_before_switch                = ignore   # ignore/add/remove/force
  1337.  
  1338. # Add or remove blank line after 'switch' statement.
  1339. nl_after_switch                 = ignore   # ignore/add/remove/force
  1340.  
  1341. # Add or remove blank line before 'synchronized'.
  1342. nl_before_synchronized          = ignore   # ignore/add/remove/force
  1343.  
  1344. # Add or remove blank line after 'synchronized' statement.
  1345. nl_after_synchronized           = ignore   # ignore/add/remove/force
  1346.  
  1347. # Add or remove blank line before 'do'.
  1348. nl_before_do                    = ignore   # ignore/add/remove/force
  1349.  
  1350. # Add or remove blank line after 'do/while' statement.
  1351. nl_after_do                     = ignore   # ignore/add/remove/force
  1352.  
  1353. # Whether to double-space commented-entries in struct/union/enum.
  1354. nl_ds_struct_enum_cmt           = false    # false/true
  1355.  
  1356. # force nl before } of a struct/union/enum
  1357. # (lower priority than 'eat_blanks_before_close_brace').
  1358. nl_ds_struct_enum_close_brace   = false    # false/true
  1359.  
  1360. # Add or remove blank line before 'func_class_def'.
  1361. nl_before_func_class_def        = 0        # unsigned number
  1362.  
  1363. # Add or remove blank line before 'func_class_proto'.
  1364. nl_before_func_class_proto      = 0        # unsigned number
  1365.  
  1366. # Add or remove a newline before/after a class colon,
  1367. #   (tied to pos_class_colon).
  1368. nl_class_colon                  = ignore   # ignore/add/remove/force
  1369.  
  1370. # Add or remove a newline around a class constructor colon.
  1371. # Related to nl_constr_init_args, pos_constr_colon and pos_constr_comma.
  1372. nl_constr_colon                 = ignore   # ignore/add/remove/force
  1373.  
  1374. # Change simple unbraced if statements into a one-liner
  1375. # 'if(b)\n i++;' => 'if(b) i++;'.
  1376. nl_create_if_one_liner          = false    # false/true
  1377.  
  1378. # Change simple unbraced for statements into a one-liner
  1379. # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'.
  1380. nl_create_for_one_liner         = false    # false/true
  1381.  
  1382. # Change simple unbraced while statements into a one-liner
  1383. # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'.
  1384. nl_create_while_one_liner       = false    # false/true
  1385.  
  1386. #  Change a one-liner if statement into simple unbraced if
  1387. # 'if(b) i++;' => 'if(b)\n i++;'.
  1388. nl_split_if_one_liner           = false    # false/true
  1389.  
  1390. # Change a one-liner for statement into simple unbraced for
  1391. # 'for (i=0;<5;i++) foo(i);' => 'for (i=0;<5;i++)\n foo(i);'.
  1392. nl_split_for_one_liner          = false    # false/true
  1393.  
  1394. # Change a one-liner while statement into simple unbraced while
  1395. # 'while (i<5) foo(i++);' => 'while (i<5)\n foo(i++);'.
  1396. nl_split_while_one_liner        = false    # false/true
  1397.  
  1398. #
  1399. # Blank line options
  1400. #
  1401.  
  1402. # The maximum consecutive newlines (3 = 2 blank lines).
  1403. nl_max                          = 0        # unsigned number
  1404.  
  1405. # The maximum consecutive newlines in function.
  1406. nl_max_blank_in_func            = 0        # unsigned number
  1407.  
  1408. # The number of newlines after a function prototype, if followed by another function prototype.
  1409. nl_after_func_proto             = 0        # unsigned number
  1410.  
  1411. # The number of newlines after a function prototype, if not followed by another function prototype.
  1412. nl_after_func_proto_group       = 0        # unsigned number
  1413.  
  1414. # The number of newlines after a function class prototype, if followed by another function class prototype.
  1415. nl_after_func_class_proto       = 0        # unsigned number
  1416.  
  1417. # The number of newlines after a function class prototype, if not followed by another function class prototype.
  1418. nl_after_func_class_proto_group = 0        # unsigned number
  1419.  
  1420. # The number of newlines before a multi-line function def body.
  1421. nl_before_func_body_def         = 0        # unsigned number
  1422.  
  1423. # The number of newlines before a multi-line function prototype body.
  1424. nl_before_func_body_proto       = 0        # unsigned number
  1425.  
  1426. # The number of newlines after '}' of a multi-line function body.
  1427. nl_after_func_body              = 0        # unsigned number
  1428.  
  1429. # The number of newlines after '}' of a multi-line function body in a class declaration.
  1430. nl_after_func_body_class        = 0        # unsigned number
  1431.  
  1432. # The number of newlines after '}' of a single line function body.
  1433. nl_after_func_body_one_liner    = 0        # unsigned number
  1434.  
  1435. # The minimum number of newlines before a multi-line comment.
  1436. # Doesn't apply if after a brace open or another multi-line comment.
  1437. nl_before_block_comment         = 0        # unsigned number
  1438.  
  1439. # The minimum number of newlines before a single-line C comment.
  1440. # Doesn't apply if after a brace open or other single-line C comments.
  1441. nl_before_c_comment             = 0        # unsigned number
  1442.  
  1443. # The minimum number of newlines before a CPP comment.
  1444. # Doesn't apply if after a brace open or other CPP comments.
  1445. nl_before_cpp_comment           = 0        # unsigned number
  1446.  
  1447. # Whether to force a newline after a multi-line comment.
  1448. nl_after_multiline_comment      = false    # false/true
  1449.  
  1450. # Whether to force a newline after a label's colon.
  1451. nl_after_label_colon            = false    # false/true
  1452.  
  1453. # The number of newlines after '}' or ';' of a struct/enum/union definition.
  1454. nl_after_struct                 = 0        # unsigned number
  1455.  
  1456. # The number of newlines before a class definition.
  1457. nl_before_class                 = 0        # unsigned number
  1458.  
  1459. # The number of newlines after '}' or ';' of a class definition.
  1460. nl_after_class                  = 0        # unsigned number
  1461.  
  1462. # The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
  1463. # Will not change the newline count if after a brace open.
  1464. # 0 = No change.
  1465. nl_before_access_spec           = 0        # unsigned number
  1466.  
  1467. # The number of newlines after a 'private:', 'public:', 'protected:', 'signals:' or 'slots:' label.
  1468. # 0 = No change.
  1469. # Overrides 'nl_typedef_blk_start' and 'nl_var_def_blk_start'.
  1470. nl_after_access_spec            = 0        # unsigned number
  1471.  
  1472. # The number of newlines between a function def and the function comment.
  1473. # 0 = No change.
  1474. nl_comment_func_def             = 0        # unsigned number
  1475.  
  1476. # The number of newlines after a try-catch-finally block that isn't followed by a brace close.
  1477. # 0 = No change.
  1478. nl_after_try_catch_finally      = 0        # unsigned number
  1479.  
  1480. # The number of newlines before and after a property, indexer or event decl.
  1481. # 0 = No change.
  1482. nl_around_cs_property           = 0        # unsigned number
  1483.  
  1484. # The number of newlines between the get/set/add/remove handlers in C#.
  1485. # 0 = No change.
  1486. nl_between_get_set              = 0        # unsigned number
  1487.  
  1488. # Add or remove newline between C# property and the '{'.
  1489. nl_property_brace               = ignore   # ignore/add/remove/force
  1490.  
  1491. # Whether to remove blank lines after '{'.
  1492. eat_blanks_after_open_brace     = false    # false/true
  1493.  
  1494. # Whether to remove blank lines before '}'.
  1495. eat_blanks_before_close_brace   = false    # false/true
  1496.  
  1497. # How aggressively to remove extra newlines not in preproc.
  1498. # 0: No change
  1499. # 1: Remove most newlines not handled by other config
  1500. # 2: Remove all newlines and reformat completely by config
  1501. nl_remove_extra_newlines        = 0        # unsigned number
  1502.  
  1503. # Whether to put a blank line before 'return' statements, unless after an open brace.
  1504. nl_before_return                = false    # false/true
  1505.  
  1506. # Whether to put a blank line after 'return' statements, unless followed by a close brace.
  1507. nl_after_return                 = false    # false/true
  1508.  
  1509. # Whether to put a newline after a Java annotation statement.
  1510. # Only affects annotations that are after a newline.
  1511. nl_after_annotation             = ignore   # ignore/add/remove/force
  1512.  
  1513. # Controls the newline between two annotations.
  1514. nl_between_annotation           = ignore   # ignore/add/remove/force
  1515.  
  1516. #
  1517. # Positioning options
  1518. #
  1519.  
  1520. # The position of arithmetic operators in wrapped expressions.
  1521. pos_arith                       = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1522.  
  1523. # The position of assignment in wrapped expressions.
  1524. # Do not affect '=' followed by '{'.
  1525. pos_assign                      = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1526.  
  1527. # The position of boolean operators in wrapped expressions.
  1528. pos_bool                        = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1529.  
  1530. # The position of comparison operators in wrapped expressions.
  1531. pos_compare                     = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1532.  
  1533. # The position of conditional (b ? t : f) operators in wrapped expressions.
  1534. pos_conditional                 = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1535.  
  1536. # The position of the comma in wrapped expressions.
  1537. pos_comma                       = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1538.  
  1539. # The position of the comma in enum entries.
  1540. pos_enum_comma                  = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1541.  
  1542. # The position of the comma in the base class list if there are more than one line,
  1543. #   (tied to nl_class_init_args).
  1544. pos_class_comma                 = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1545.  
  1546. # The position of the comma in the constructor initialization list.
  1547. # Related to nl_constr_colon, nl_constr_init_args and pos_constr_colon.
  1548. pos_constr_comma                = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1549.  
  1550. # The position of trailing/leading class colon, between class and base class list
  1551. #   (tied to nl_class_colon).
  1552. pos_class_colon                 = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1553.  
  1554. # The position of colons between constructor and member initialization,
  1555. # (tied to nl_constr_colon).
  1556. # Related to nl_constr_colon, nl_constr_init_args and pos_constr_comma.
  1557. pos_constr_colon                = ignore   # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  1558.  
  1559. #
  1560. # Line Splitting options
  1561. #
  1562.  
  1563. # Try to limit code width to N number of columns
  1564. code_width                      = 0        # unsigned number
  1565.  
  1566. # Whether to fully split long 'for' statements at semi-colons.
  1567. ls_for_split_full               = false    # false/true
  1568.  
  1569. # Whether to fully split long function protos/calls at commas.
  1570. ls_func_split_full              = false    # false/true
  1571.  
  1572. # Whether to split lines as close to code_width as possible and ignore some groupings.
  1573. ls_code_width                   = false    # false/true
  1574.  
  1575. #
  1576. # Code alignment (not left column spaces/tabs)
  1577. #
  1578.  
  1579. # Whether to keep non-indenting tabs.
  1580. align_keep_tabs                 = false    # false/true
  1581.  
  1582. # Whether to use tabs for aligning.
  1583. align_with_tabs                 = false    # false/true
  1584.  
  1585. # Whether to bump out to the next tab when aligning.
  1586. align_on_tabstop                = false    # false/true
  1587.  
  1588. # Whether to right-align numbers.
  1589. align_number_right              = false    # false/true
  1590.  
  1591. # Whether to keep whitespace not required for alignment.
  1592. align_keep_extra_space          = false    # false/true
  1593.  
  1594. # Align variable definitions in prototypes and functions.
  1595. align_func_params               = false    # false/true
  1596.  
  1597. # The span for aligning parameter definitions in function on parameter name (0=don't align).
  1598. align_func_params_span          = 0        # unsigned number
  1599.  
  1600. # The threshold for aligning function parameter definitions (0=no limit).
  1601. align_func_params_thresh        = 0        # unsigned number
  1602.  
  1603. # The gap for aligning function parameter definitions.
  1604. align_func_params_gap           = 0        # unsigned number
  1605.  
  1606. # Align parameters in single-line functions that have the same name.
  1607. # The function names must already be aligned with each other.
  1608. align_same_func_call_params     = false    # false/true
  1609.  
  1610. # The span for aligning variable definitions (0=don't align)
  1611. align_var_def_span              = 0        # unsigned number
  1612.  
  1613. # How to align the star in variable definitions.
  1614. #  0=Part of the type     'void *   foo;'
  1615. #  1=Part of the variable 'void     *foo;'
  1616. #  2=Dangling             'void    *foo;'
  1617. align_var_def_star_style        = 0        # unsigned number
  1618.  
  1619. # How to align the '&' in variable definitions.
  1620. #  0=Part of the type
  1621. #  1=Part of the variable
  1622. #  2=Dangling
  1623. align_var_def_amp_style         = 0        # unsigned number
  1624.  
  1625. # The threshold for aligning variable definitions (0=no limit)
  1626. align_var_def_thresh            = 0        # unsigned number
  1627.  
  1628. # The gap for aligning variable definitions.
  1629. align_var_def_gap               = 0        # unsigned number
  1630.  
  1631. # Whether to align the colon in struct bit fields.
  1632. align_var_def_colon             = false    # false/true
  1633.  
  1634. # align variable defs gap for bit colons.
  1635. align_var_def_colon_gap         = 0        # unsigned number
  1636.  
  1637. # Whether to align any attribute after the variable name.
  1638. align_var_def_attribute         = false    # false/true
  1639.  
  1640. # Whether to align inline struct/enum/union variable definitions.
  1641. align_var_def_inline            = false    # false/true
  1642.  
  1643. # The span for aligning on '=' in assignments (0=don't align)
  1644. align_assign_span               = 0        # unsigned number
  1645.  
  1646. # The threshold for aligning on '=' in assignments (0=no limit)
  1647. align_assign_thresh             = 0        # unsigned number
  1648.  
  1649. # The span for aligning on '=' in enums (0=don't align)
  1650. align_enum_equ_span             = 0        # unsigned number
  1651.  
  1652. # The threshold for aligning on '=' in enums (0=no limit)
  1653. align_enum_equ_thresh           = 0        # unsigned number
  1654.  
  1655. # The span for aligning class (0=don't align)
  1656. align_var_class_span            = 0        # unsigned number
  1657.  
  1658. # The threshold for aligning class member definitions (0=no limit).
  1659. align_var_class_thresh          = 0        # unsigned number
  1660.  
  1661. # The gap for aligning class member definitions.
  1662. align_var_class_gap             = 0        # unsigned number
  1663.  
  1664. # The span for aligning struct/union (0=don't align)
  1665. align_var_struct_span           = 0        # unsigned number
  1666.  
  1667. # The threshold for aligning struct/union member definitions (0=no limit)
  1668. align_var_struct_thresh         = 0        # unsigned number
  1669.  
  1670. # The gap for aligning struct/union member definitions.
  1671. align_var_struct_gap            = 0        # unsigned number
  1672.  
  1673. # The span for aligning struct initializer values (0=don't align)
  1674. align_struct_init_span          = 0        # unsigned number
  1675.  
  1676. # The minimum space between the type and the synonym of a typedef.
  1677. align_typedef_gap               = 0        # unsigned number
  1678.  
  1679. # The span for aligning single-line typedefs (0=don't align).
  1680. align_typedef_span              = 0        # unsigned number
  1681.  
  1682. # How to align typedef'd functions with other typedefs
  1683. # 0: Don't mix them at all
  1684. # 1: align the open paren with the types
  1685. # 2: align the function type name with the other type names
  1686. align_typedef_func              = 0        # unsigned number
  1687.  
  1688. # Controls the positioning of the '*' in typedefs. Just try it.
  1689. # 0: Align on typedef type, ignore '*'
  1690. # 1: The '*' is part of type name: typedef int  *pint;
  1691. # 2: The '*' is part of the type, but dangling: typedef int *pint;
  1692. align_typedef_star_style        = 0        # unsigned number
  1693.  
  1694. # Controls the positioning of the '&' in typedefs. Just try it.
  1695. # 0: Align on typedef type, ignore '&'
  1696. # 1: The '&' is part of type name: typedef int  &pint;
  1697. # 2: The '&' is part of the type, but dangling: typedef int &pint;
  1698. align_typedef_amp_style         = 0        # unsigned number
  1699.  
  1700. # The span for aligning comments that end lines (0=don't align)
  1701. align_right_cmt_span            = 0        # unsigned number
  1702.  
  1703. # If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment.
  1704. align_right_cmt_mix             = false    # false/true
  1705.  
  1706. # If a trailing comment is more than this number of columns away from the text it follows,
  1707. # it will qualify for being aligned. This has to be > 0 to do anything.
  1708. align_right_cmt_gap             = 0        # unsigned number
  1709.  
  1710. # Align trailing comment at or beyond column N; 'pulls in' comments as a bonus side effect (0=ignore)
  1711. align_right_cmt_at_col          = 0        # unsigned number
  1712.  
  1713. # The span for aligning function prototypes (0=don't align).
  1714. align_func_proto_span           = 0        # unsigned number
  1715.  
  1716. # Minimum gap between the return type and the function name.
  1717. align_func_proto_gap            = 0        # unsigned number
  1718.  
  1719. # Align function protos on the 'operator' keyword instead of what follows.
  1720. align_on_operator               = false    # false/true
  1721.  
  1722. # Whether to mix aligning prototype and variable declarations.
  1723. # If True, align_var_def_XXX options are used instead of align_func_proto_XXX options.
  1724. align_mix_var_proto             = false    # false/true
  1725.  
  1726. # Align single-line functions with function prototypes, uses align_func_proto_span.
  1727. align_single_line_func          = false    # false/true
  1728.  
  1729. # Aligning the open brace of single-line functions.
  1730. # Requires align_single_line_func=True, uses align_func_proto_span.
  1731. align_single_line_brace         = false    # false/true
  1732.  
  1733. # Gap for align_single_line_brace.
  1734. align_single_line_brace_gap     = 0        # unsigned number
  1735.  
  1736. # The span for aligning ObjC msg spec (0=don't align)
  1737. align_oc_msg_spec_span          = 0        # unsigned number
  1738.  
  1739. # Whether to align macros wrapped with a backslash and a newline.
  1740. # This will not work right if the macro contains a multi-line comment.
  1741. align_nl_cont                   = false    # false/true
  1742.  
  1743. # # Align macro functions and variables together.
  1744. align_pp_define_together        = false    # false/true
  1745.  
  1746. # The minimum space between label and value of a preprocessor define.
  1747. align_pp_define_gap             = 0        # unsigned number
  1748.  
  1749. # The span for aligning on '#define' bodies (0=don't align, other=number of lines including comments between blocks)
  1750. align_pp_define_span            = 0        # unsigned number
  1751.  
  1752. # Align lines that start with '<<' with previous '<<'. Default=True.
  1753. align_left_shift                = true     # false/true
  1754.  
  1755. # Align text after asm volatile () colons.
  1756. align_asm_colon                 = false    # false/true
  1757.  
  1758. # Span for aligning parameters in an Obj-C message call on the ':' (0=don't align)
  1759. align_oc_msg_colon_span         = 0        # unsigned number
  1760.  
  1761. # If True, always align with the first parameter, even if it is too short.
  1762. align_oc_msg_colon_first        = false    # false/true
  1763.  
  1764. # Aligning parameters in an Obj-C '+' or '-' declaration on the ':'.
  1765. align_oc_decl_colon             = false    # false/true
  1766.  
  1767. #
  1768. # Comment modifications
  1769. #
  1770.  
  1771. # Try to wrap comments at cmt_width columns
  1772. cmt_width                       = 0        # unsigned number
  1773.  
  1774. # Set the comment reflow mode (Default=0)
  1775. # 0: no reflowing (apart from the line wrapping due to cmt_width)
  1776. # 1: no touching at all
  1777. # 2: full reflow
  1778. cmt_reflow_mode                 = 0        # unsigned number
  1779.  
  1780. # Whether to convert all tabs to spaces in comments. Default is to leave tabs inside comments alone, unless used for indenting.
  1781. cmt_convert_tab_to_spaces       = false    # false/true
  1782.  
  1783. # If False, disable all multi-line comment changes, including cmt_width. keyword substitution and leading chars.
  1784. # Default=True.
  1785. cmt_indent_multi                = true     # false/true
  1786.  
  1787. # Whether to group c-comments that look like they are in a block.
  1788. cmt_c_group                     = false    # false/true
  1789.  
  1790. # Whether to put an empty '/*' on the first line of the combined c-comment.
  1791. cmt_c_nl_start                  = false    # false/true
  1792.  
  1793. # Whether to put a newline before the closing '*/' of the combined c-comment.
  1794. cmt_c_nl_end                    = false    # false/true
  1795.  
  1796. # Whether to group cpp-comments that look like they are in a block.
  1797. cmt_cpp_group                   = false    # false/true
  1798.  
  1799. # Whether to put an empty '/*' on the first line of the combined cpp-comment.
  1800. cmt_cpp_nl_start                = false    # false/true
  1801.  
  1802. # Whether to put a newline before the closing '*/' of the combined cpp-comment.
  1803. cmt_cpp_nl_end                  = false    # false/true
  1804.  
  1805. # Whether to change cpp-comments into c-comments.
  1806. cmt_cpp_to_c                    = false    # false/true
  1807.  
  1808. # Whether to put a star on subsequent comment lines.
  1809. cmt_star_cont                   = false    # false/true
  1810.  
  1811. # The number of spaces to insert at the start of subsequent comment lines.
  1812. cmt_sp_before_star_cont         = 0        # unsigned number
  1813.  
  1814. # The number of spaces to insert after the star on subsequent comment lines.
  1815. cmt_sp_after_star_cont          = 0        # number
  1816.  
  1817. # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
  1818. # the comment are the same length. Default=True.
  1819. cmt_multi_check_last            = true     # false/true
  1820.  
  1821. # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
  1822. # the comment are the same length AND if the length is bigger as the first_len minimum. Default=4
  1823. cmt_multi_first_len_minimum     = 4        # unsigned number
  1824.  
  1825. # The filename that contains text to insert at the head of a file if the file doesn't start with a C/C++ comment.
  1826. # Will substitute $(filename) with the current file's name.
  1827. cmt_insert_file_header          = ""         # string
  1828.  
  1829. # The filename that contains text to insert at the end of a file if the file doesn't end with a C/C++ comment.
  1830. # Will substitute $(filename) with the current file's name.
  1831. cmt_insert_file_footer          = ""         # string
  1832.  
  1833. # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ comment.
  1834. # Will substitute $(function) with the function name and $(javaparam) with the javadoc @param and @return stuff.
  1835. # Will also substitute $(fclass) with the class name: void CFoo::Bar() { ... }.
  1836. cmt_insert_func_header          = ""         # string
  1837.  
  1838. # The filename that contains text to insert before a class if the class isn't preceded with a C/C++ comment.
  1839. # Will substitute $(class) with the class name.
  1840. cmt_insert_class_header         = ""         # string
  1841.  
  1842. # The filename that contains text to insert before a Obj-C message specification if the method isn't preceded with a C/C++ comment.
  1843. # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff.
  1844. cmt_insert_oc_msg_header        = ""         # string
  1845.  
  1846. # If a preprocessor is encountered when stepping backwards from a function name, then
  1847. # this option decides whether the comment should be inserted.
  1848. # Affects cmt_insert_oc_msg_header, cmt_insert_func_header and cmt_insert_class_header.
  1849. cmt_insert_before_preproc       = false    # false/true
  1850.  
  1851. # If a function is declared inline to a class definition, then
  1852. # this option decides whether the comment should be inserted.
  1853. # Affects cmt_insert_func_header.
  1854. cmt_insert_before_inlines       = true     # false/true
  1855.  
  1856. # If the function is a constructor/destructor, then
  1857. # this option decides whether the comment should be inserted.
  1858. # Affects cmt_insert_func_header.
  1859. cmt_insert_before_ctor_dtor     = false    # false/true
  1860.  
  1861. #
  1862. # Code modifying options (non-whitespace)
  1863. #
  1864.  
  1865. # Add or remove braces on single-line 'do' statement.
  1866. mod_full_brace_do               = ignore   # ignore/add/remove/force
  1867.  
  1868. # Add or remove braces on single-line 'for' statement.
  1869. mod_full_brace_for              = ignore   # ignore/add/remove/force
  1870.  
  1871. # Add or remove braces on single-line function definitions. (Pawn).
  1872. mod_full_brace_function         = ignore   # ignore/add/remove/force
  1873.  
  1874. # Add or remove braces on single-line 'if' statement. Will not remove the braces if they contain an 'else'.
  1875. mod_full_brace_if               = ignore   # ignore/add/remove/force
  1876.  
  1877. # Make all if/elseif/else statements in a chain be braced or not. Overrides mod_full_brace_if.
  1878. # If any must be braced, they are all braced.  If all can be unbraced, then the braces are removed.
  1879. mod_full_brace_if_chain         = false    # false/true
  1880.  
  1881. # Make all if/elseif/else statements with at least one 'else' or 'else if' fully braced.
  1882. # If mod_full_brace_if_chain is used together with this option, all if-else chains will get braces,
  1883. # and simple 'if' statements will lose them (if possible).
  1884. mod_full_brace_if_chain_only    = false    # false/true
  1885.  
  1886. # Don't remove braces around statements that span N newlines
  1887. mod_full_brace_nl               = 0        # unsigned number
  1888.  
  1889. # Blocks removal of braces if the parenthesis of if/for/while/.. span multiple lines.
  1890. mod_full_brace_nl_block_rem_mlcond = false    # false/true
  1891.  
  1892. # Add or remove braces on single-line 'while' statement.
  1893. mod_full_brace_while            = ignore   # ignore/add/remove/force
  1894.  
  1895. # Add or remove braces on single-line 'using ()' statement.
  1896. mod_full_brace_using            = ignore   # ignore/add/remove/force
  1897.  
  1898. # Add or remove unnecessary paren on 'return' statement.
  1899. mod_paren_on_return             = ignore   # ignore/add/remove/force
  1900.  
  1901. # Whether to change optional semicolons to real semicolons.
  1902. mod_pawn_semicolon              = false    # false/true
  1903.  
  1904. # Add parens on 'while' and 'if' statement around bools.
  1905. mod_full_paren_if_bool          = false    # false/true
  1906.  
  1907. # Whether to remove superfluous semicolons.
  1908. mod_remove_extra_semicolon      = false    # false/true
  1909.  
  1910. # If a function body exceeds the specified number of newlines and doesn't have a comment after
  1911. # the close brace, a comment will be added.
  1912. mod_add_long_function_closebrace_comment = 0        # unsigned number
  1913.  
  1914. # If a namespace body exceeds the specified number of newlines and doesn't have a comment after
  1915. # the close brace, a comment will be added.
  1916. mod_add_long_namespace_closebrace_comment = 0        # unsigned number
  1917.  
  1918. # If a class body exceeds the specified number of newlines and doesn't have a comment after
  1919. # the close brace, a comment will be added.
  1920. mod_add_long_class_closebrace_comment = 0        # unsigned number
  1921.  
  1922. # If a switch body exceeds the specified number of newlines and doesn't have a comment after
  1923. # the close brace, a comment will be added.
  1924. mod_add_long_switch_closebrace_comment = 0        # unsigned number
  1925.  
  1926. # If an #ifdef body exceeds the specified number of newlines and doesn't have a comment after
  1927. # the #endif, a comment will be added.
  1928. mod_add_long_ifdef_endif_comment = 0        # unsigned number
  1929.  
  1930. # If an #ifdef or #else body exceeds the specified number of newlines and doesn't have a comment after
  1931. # the #else, a comment will be added.
  1932. mod_add_long_ifdef_else_comment = 0        # unsigned number
  1933.  
  1934. # If True, will sort consecutive single-line 'import' statements [Java, D].
  1935. mod_sort_import                 = false    # false/true
  1936.  
  1937. # If True, will sort consecutive single-line 'using' statements [C#].
  1938. mod_sort_using                  = false    # false/true
  1939.  
  1940. # If True, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
  1941. # This is generally a bad idea, as it may break your code.
  1942. mod_sort_include                = false    # false/true
  1943.  
  1944. # If True, it will move a 'break' that appears after a fully braced 'case' before the close brace.
  1945. mod_move_case_break             = false    # false/true
  1946.  
  1947. # Will add or remove the braces around a fully braced case statement.
  1948. # Will only remove the braces if there are no variable declarations in the block.
  1949. mod_case_brace                  = ignore   # ignore/add/remove/force
  1950.  
  1951. # If True, it will remove a void 'return;' that appears as the last statement in a function.
  1952. mod_remove_empty_return         = false    # false/true
  1953.  
  1954. # If True, it will organize the properties (Obj-C).
  1955. mod_sort_oc_properties          = false    # false/true
  1956.  
  1957. # Determines weight of class property modifier (Obj-C).
  1958. mod_sort_oc_property_class_weight = 0        # number
  1959.  
  1960. # Determines weight of atomic, nonatomic (Obj-C).
  1961. mod_sort_oc_property_thread_safe_weight = 0        # number
  1962.  
  1963. # Determines weight of readwrite (Obj-C).
  1964. mod_sort_oc_property_readwrite_weight = 0        # number
  1965.  
  1966. # Determines weight of reference type (retain, copy, assign, weak, strong) (Obj-C).
  1967. mod_sort_oc_property_reference_weight = 0        # number
  1968.  
  1969. # Determines weight of getter type (getter=) (Obj-C).
  1970. mod_sort_oc_property_getter_weight = 0        # number
  1971.  
  1972. # Determines weight of setter type (setter=) (Obj-C).
  1973. mod_sort_oc_property_setter_weight = 0        # number
  1974.  
  1975. # Determines weight of nullability type (nullable, nonnull, null_unspecified, null_resettable) (Obj-C).
  1976. mod_sort_oc_property_nullability_weight = 0        # number
  1977.  
  1978. #
  1979. # Preprocessor options
  1980. #
  1981.  
  1982. # Control indent of preprocessors inside #if blocks at brace level 0 (file-level).
  1983. pp_indent                       = ignore   # ignore/add/remove/force
  1984.  
  1985. # Whether to indent #if/#else/#endif at the brace level (True) or from column 1 (False).
  1986. pp_indent_at_level              = false    # false/true
  1987.  
  1988. # Specifies the number of columns to indent preprocessors per level at brace level 0 (file-level).
  1989. # If pp_indent_at_level=False, specifies the number of columns to indent preprocessors per level at brace level > 0 (function-level).
  1990. # Default=1.
  1991. pp_indent_count                 = 1        # unsigned number
  1992.  
  1993. # Add or remove space after # based on pp_level of #if blocks.
  1994. pp_space                        = ignore   # ignore/add/remove/force
  1995.  
  1996. # Sets the number of spaces added with pp_space.
  1997. pp_space_count                  = 0        # unsigned number
  1998.  
  1999. # The indent for #region and #endregion in C# and '#pragma region' in C/C++.
  2000. pp_indent_region                = 0        # number
  2001.  
  2002. # Whether to indent the code between #region and #endregion.
  2003. pp_region_indent_code           = false    # false/true
  2004.  
  2005. # If pp_indent_at_level=True, sets the indent for #if, #else and #endif when not at file-level.
  2006. # 0:  indent preprocessors using output_tab_size.
  2007. # >0: column at which all preprocessors will be indented.
  2008. pp_indent_if                    = 0        # number
  2009.  
  2010. # Control whether to indent the code between #if, #else and #endif.
  2011. pp_if_indent_code               = false    # false/true
  2012.  
  2013. # Whether to indent '#define' at the brace level (True) or from column 1 (false).
  2014. pp_define_at_level              = false    # false/true
  2015.  
  2016. # Whether to ignore the '#define' body while formatting.
  2017. pp_ignore_define_body           = false    # false/true
  2018.  
  2019. # Whether to indent case statements between #if, #else, and #endif.
  2020. # Only applies to the indent of the preprocesser that the case statements directly inside of.
  2021. pp_indent_case                  = true     # false/true
  2022.  
  2023. # Whether to indent whole function definitions between #if, #else, and #endif.
  2024. # Only applies to the indent of the preprocesser that the function definition is directly inside of.
  2025. pp_indent_func_def              = true     # false/true
  2026.  
  2027. # Whether to indent extern C blocks between #if, #else, and #endif.
  2028. # Only applies to the indent of the preprocesser that the extern block is directly inside of.
  2029. pp_indent_extern                = true     # false/true
  2030.  
  2031. # Whether to indent braces directly inside #if, #else, and #endif.
  2032. # Only applies to the indent of the preprocesser that the braces are directly inside of.
  2033. pp_indent_brace                 = true     # false/true
  2034.  
  2035. #
  2036. # Sort includes options
  2037. #
  2038.  
  2039. # The regex for include category with priority 0.
  2040. include_category_0              = ""         # string
  2041.  
  2042. # The regex for include category with priority 1.
  2043. include_category_1              = ""         # string
  2044.  
  2045. # The regex for include category with priority 2.
  2046. include_category_2              = ""         # string
  2047.  
  2048. #
  2049. # Use or Do not Use options
  2050. #
  2051.  
  2052. # True:  indent_func_call_param will be used (default)
  2053. # False: indent_func_call_param will NOT be used.
  2054. use_indent_func_call_param      = true     # false/true
  2055.  
  2056. # The value of the indentation for a continuation line is calculate differently if the line is:
  2057. #   a declaration :your case with QString fileName ...
  2058. #   an assignment  :your case with pSettings = new QSettings( ...
  2059. # At the second case the option value might be used twice:
  2060. #   at the assignment
  2061. #   at the function call (if present)
  2062. # To prevent the double use of the option value, use this option with the value 'True'.
  2063. # True:  indent_continue will be used only once
  2064. # False: indent_continue will be used every time (default).
  2065. use_indent_continue_only_once   = false    # false/true
  2066.  
  2067. # SIGNAL/SLOT Qt macros have special formatting options. See options_for_QT.cpp for details.
  2068. # Default=True.
  2069. use_options_overriding_for_qt_macros = true     # false/true
  2070.  
  2071. #
  2072. # Warn levels - 1: error, 2: warning (default), 3: note
  2073. #
  2074.  
  2075. # Warning is given if doing tab-to-\t replacement and we have found one in a C# verbatim string literal.
  2076. warn_level_tabs_found_in_verbatim_string_literals = 2        # unsigned number
  2077.  
  2078. # Meaning of the settings:
  2079. #   Ignore - do not do any changes
  2080. #   Add    - makes sure there is 1 or more space/brace/newline/etc
  2081. #   Force  - makes sure there is exactly 1 space/brace/newline/etc,
  2082. #            behaves like Add in some contexts
  2083. #   Remove - removes space/brace/newline/etc
  2084. #
  2085. #
  2086. # - Token(s) can be treated as specific type(s) with the 'set' option:
  2087. #     `set tokenType tokenString [tokenString...]`
  2088. #
  2089. #     Example:
  2090. #       `set BOOL __AND__ __OR__`
  2091. #
  2092. #     tokenTypes are defined in src/token_enum.h, use them without the
  2093. #     'CT_' prefix: 'CT_BOOL' -> 'BOOL'
  2094. #
  2095. #
  2096. # - Token(s) can be treated as type(s) with the 'type' option.
  2097. #     `type tokenString [tokenString...]`
  2098. #
  2099. #     Example:
  2100. #       `type int c_uint_8 Rectangle`
  2101. #
  2102. #     This can also be achieved with `set TYPE int c_uint_8 Rectangle`
  2103. #
  2104. #
  2105. # To embed whitespace in tokenStrings use the '\' escape character, or quote
  2106. # the tokenStrings. These quotes are supported: "'`
  2107. #
  2108. #
  2109. # - Support for the auto detection of languages through the file ending can be
  2110. #   added using the 'file_ext' command.
  2111. #     `file_ext langType langString [langString..]`
  2112. #
  2113. #     Example:
  2114. #       `file_ext CPP .ch .cxx .cpp.in`
  2115. #
  2116. #     langTypes are defined in uncrusify_types.h in the lang_flag_e enum, use
  2117. #     them without the 'LANG_' prefix: 'LANG_CPP' -> 'CPP'
  2118. #
  2119. #
  2120. # - Custom macro-based indentation can be set up using 'macro-open',
  2121. #   'macro-else' and 'macro-close'.
  2122. #     `(macro-open | macro-else | macro-close) tokenString`
  2123. #
  2124. #     Example:
  2125. #       `macro-open  BEGIN_TEMPLATE_MESSAGE_MAP`
  2126. #       `macro-open  BEGIN_MESSAGE_MAP`
  2127. #       `macro-close END_MESSAGE_MAP`
  2128. #
  2129. ## option(s) with 'not default' value: 0
  2130. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement