Advertisement
Guest User

uncrustify GitHub issue 1726 (config)

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