Guest User

Untitled

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