Guest User

Untitled

a guest
Jan 2nd, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 118.67 KB | None | 0 0
  1. # Uncrustify-0.68_f
  2.  
  3. #
  4. # General options
  5. #
  6.  
  7. # The type of line endings.
  8. #
  9. # Default: auto
  10. newlines = auto # lf/crlf/cr/auto
  11.  
  12. # The original size of tabs in the input.
  13. #
  14. # Default: 8
  15. input_tab_size = 8 # unsigned number
  16.  
  17. # The size of tabs in the output (only used if align_with_tabs=true).
  18. #
  19. # Default: 8
  20. output_tab_size = 4 # unsigned number
  21.  
  22. # The ASCII value of the string escape char, usually 92 (\) or (Pawn) 94 (^).
  23. #
  24. # Default: 92
  25. string_escape_char = 92 # unsigned number
  26.  
  27. # Alternate string escape char (usually only used for Pawn).
  28. # Only works right before the quote char.
  29. string_escape_char2 = 0 # unsigned number
  30.  
  31. # Replace tab characters found in string literals with the escape sequence \t
  32. # instead.
  33. string_replace_tab_chars = false # true/false
  34.  
  35. # Allow interpreting '>=' and '>>=' as part of a template in code like
  36. # 'void f(list<list<B>>=val);'. If true, 'assert(x<0 && y>=3)' will be broken.
  37. # Improvements to template detection may make this option obsolete.
  38. tok_split_gte = false # true/false
  39.  
  40. # Specify the marker used in comments to disable processing of part of the
  41. # file.
  42. #
  43. # Default: *INDENT-OFF*
  44. disable_processing_cmt = " *INDENT-OFF*" # string
  45.  
  46. # Specify the marker used in comments to (re)enable processing in a file.
  47. #
  48. # Default: *INDENT-ON*
  49. enable_processing_cmt = " *INDENT-ON*" # string
  50.  
  51. # Enable parsing of digraphs.
  52. enable_digraphs = false # true/false
  53.  
  54. # Add or remove the UTF-8 BOM (recommend 'remove').
  55. utf8_bom = ignore # ignore/add/remove/force
  56.  
  57. # If the file contains bytes with values between 128 and 255, but is not
  58. # UTF-8, then output as UTF-8.
  59. utf8_byte = true # true/false
  60.  
  61. # Force the output encoding to UTF-8.
  62. utf8_force = false # true/false
  63.  
  64. # Add or remove space between 'do' and '{'.
  65. sp_do_brace_open = add # ignore/add/remove/force
  66.  
  67. # Add or remove space between '}' and 'while'.
  68. sp_brace_close_while = add # ignore/add/remove/force
  69.  
  70. # Add or remove space between 'while' and '('.
  71. sp_while_paren_open = remove # ignore/add/remove/force
  72.  
  73. #
  74. # Spacing options
  75. #
  76.  
  77. # Add or remove space around non-assignment symbolic operators ('+', '/', '%',
  78. # '<<', and so forth).
  79. sp_arith = add # ignore/add/remove/force
  80.  
  81. # Add or remove space around arithmetic operators '+' and '-'.
  82. #
  83. # Overrides sp_arith.
  84. sp_arith_additive = ignore # ignore/add/remove/force
  85.  
  86. # Add or remove space around assignment operator '=', '+=', etc.
  87. sp_assign = ignore # ignore/add/remove/force
  88.  
  89. # Add or remove space around '=' in C++11 lambda capture specifications.
  90. #
  91. # Overrides sp_assign.
  92. sp_cpp_lambda_assign = ignore # ignore/add/remove/force
  93.  
  94. # Add or remove space after the capture specification of a C++11 lambda when
  95. # an argument list is present, as in '[] <here> (int x){ ... }'.
  96. sp_cpp_lambda_square_paren = add # ignore/add/remove/force
  97.  
  98. # Add or remove space after the capture specification of a C++11 lambda with
  99. # no argument list is present, as in '[] <here> { ... }'.
  100. sp_cpp_lambda_square_brace = add # ignore/add/remove/force
  101.  
  102. # Add or remove space after the argument list of a C++11 lambda, as in
  103. # '[](int x) <here> { ... }'.
  104. sp_cpp_lambda_paren_brace = add # ignore/add/remove/force
  105.  
  106. # Add or remove space between a lambda body and its call operator of an
  107. # immediately invoked lambda, as in '[]( ... ){ ... } <here> ( ... )'.
  108. sp_cpp_lambda_fparen = remove # ignore/add/remove/force
  109.  
  110. # Add or remove space around assignment operator '=' in a prototype.
  111. #
  112. # If set to ignore, use sp_assign.
  113. sp_assign_default = ignore # ignore/add/remove/force
  114.  
  115. # Add or remove space before assignment operator '=', '+=', etc.
  116. #
  117. # Overrides sp_assign.
  118. sp_before_assign = ignore # ignore/add/remove/force
  119.  
  120. # Add or remove space after assignment operator '=', '+=', etc.
  121. #
  122. # Overrides sp_assign.
  123. sp_after_assign = ignore # ignore/add/remove/force
  124.  
  125. # Add or remove space in 'NS_ENUM ('.
  126. sp_enum_paren = ignore # ignore/add/remove/force
  127.  
  128. # Add or remove space around assignment '=' in enum.
  129. sp_enum_assign = ignore # ignore/add/remove/force
  130.  
  131. # Add or remove space before assignment '=' in enum.
  132. #
  133. # Overrides sp_enum_assign.
  134. sp_enum_before_assign = add # ignore/add/remove/force
  135.  
  136. # Add or remove space after assignment '=' in enum.
  137. #
  138. # Overrides sp_enum_assign.
  139. sp_enum_after_assign = add # ignore/add/remove/force
  140.  
  141. # Add or remove space around assignment ':' in enum.
  142. sp_enum_colon = ignore # ignore/add/remove/force
  143.  
  144. # Add or remove space around preprocessor '##' concatenation operator.
  145. #
  146. # Default: add
  147. sp_pp_concat = add # ignore/add/remove/force
  148.  
  149. # Add or remove space after preprocessor '#' stringify operator.
  150. # Also affects the '#@' charizing operator.
  151. sp_pp_stringify = ignore # ignore/add/remove/force
  152.  
  153. # Add or remove space before preprocessor '#' stringify operator
  154. # as in '#define x(y) L#y'.
  155. sp_before_pp_stringify = ignore # ignore/add/remove/force
  156.  
  157. # Add or remove space around boolean operators '&&' and '||'.
  158. sp_bool = add # ignore/add/remove/force
  159.  
  160. # Add or remove space around compare operator '<', '>', '==', etc.
  161. sp_compare = add # ignore/add/remove/force
  162.  
  163. # Add or remove space inside '(' and ')'.
  164. sp_inside_paren = remove # ignore/add/remove/force
  165.  
  166. # Add or remove space between nested parentheses, i.e. '((' vs. ') )'.
  167. sp_paren_paren = remove # ignore/add/remove/force
  168.  
  169. # Add or remove space between back-to-back parentheses, i.e. ')(' vs. ') ('.
  170. sp_cparen_oparen = ignore # ignore/add/remove/force
  171.  
  172. # Whether to balance spaces inside nested parentheses.
  173. sp_balance_nested_parens = false # true/false
  174.  
  175. # Add or remove space between ')' and '{'.
  176. sp_paren_brace = add # ignore/add/remove/force
  177.  
  178. # Add or remove space between nested braces, i.e. '{{' vs '{ {'.
  179. sp_brace_brace = ignore # ignore/add/remove/force
  180.  
  181. # Add or remove space before pointer star '*'.
  182. sp_before_ptr_star = add # ignore/add/remove/force
  183.  
  184. # Add or remove space before pointer star '*' that isn't followed by a
  185. # variable name. If set to 'ignore', sp_before_ptr_star is used instead.
  186. sp_before_unnamed_ptr_star = add # ignore/add/remove/force
  187.  
  188. # Add or remove space between pointer stars '*'.
  189. sp_between_ptr_star = ignore # ignore/add/remove/force
  190.  
  191. # Add or remove space after pointer star '*', if followed by a word.
  192. #
  193. # Overrides sp_type_func.
  194. sp_after_ptr_star = remove # ignore/add/remove/force
  195.  
  196. # Add or remove space after pointer caret '^', if followed by a word.
  197. sp_after_ptr_block_caret = ignore # ignore/add/remove/force
  198.  
  199. # Add or remove space after pointer star '*', if followed by a qualifier.
  200. sp_after_ptr_star_qualifier = add # ignore/add/remove/force
  201.  
  202. # Add or remove space after a pointer star '*', if followed by a function
  203. # prototype or function definition.
  204. #
  205. # Overrides sp_after_ptr_star and sp_type_func.
  206. sp_after_ptr_star_func = add # ignore/add/remove/force
  207.  
  208. # Add or remove space after a pointer star '*', if followed by an open
  209. # parenthesis, as in 'void* (*)().
  210. sp_ptr_star_paren = add # ignore/add/remove/force
  211.  
  212. # Add or remove space before a pointer star '*', if followed by a function
  213. # prototype or function definition.
  214. sp_before_ptr_star_func = ignore # ignore/add/remove/force
  215.  
  216. # Add or remove space before a reference sign '&'.
  217. sp_before_byref = add # ignore/add/remove/force
  218.  
  219. # Add or remove space before a reference sign '&' that isn't followed by a
  220. # variable name. If set to 'ignore', sp_before_byref is used instead.
  221. sp_before_unnamed_byref = ignore # ignore/add/remove/force
  222.  
  223. # Add or remove space after reference sign '&', if followed by a word.
  224. #
  225. # Overrides sp_type_func.
  226. sp_after_byref = remove # ignore/add/remove/force
  227.  
  228. # Add or remove space after a reference sign '&', if followed by a function
  229. # prototype or function definition.
  230. #
  231. # Overrides sp_after_byref and sp_type_func.
  232. sp_after_byref_func = add # ignore/add/remove/force
  233.  
  234. # Add or remove space before a reference sign '&', if followed by a function
  235. # prototype or function definition.
  236. sp_before_byref_func = ignore # ignore/add/remove/force
  237.  
  238. # Add or remove space between type and word.
  239. #
  240. # Default: force
  241. sp_after_type = force # ignore/add/remove/force
  242.  
  243. # Add or remove space between 'decltype(...)' and word.
  244. sp_after_decltype = ignore # ignore/add/remove/force
  245.  
  246. # (D) Add or remove space before the parenthesis in the D constructs
  247. # 'template Foo(' and 'class Foo('.
  248. sp_before_template_paren = ignore # ignore/add/remove/force
  249.  
  250. # Add or remove space between 'template' and '<'.
  251. # If set to ignore, sp_before_angle is used.
  252. sp_template_angle = remove # ignore/add/remove/force
  253.  
  254. # Add or remove space before '<'.
  255. sp_before_angle = ignore # ignore/add/remove/force
  256.  
  257. # Add or remove space inside '<' and '>'.
  258. sp_inside_angle = ignore # ignore/add/remove/force
  259.  
  260. # Add or remove space inside '<>'.
  261. sp_inside_angle_empty = remove # ignore/add/remove/force
  262.  
  263. # Add or remove space between '>' and ':'.
  264. sp_angle_colon = ignore # ignore/add/remove/force
  265.  
  266. # Add or remove space after '<>'.
  267. sp_after_angle = ignore # ignore/add/remove/force
  268.  
  269. # Add or remove space between '>' and '(' as found in 'new List<byte>(foo);'.
  270. sp_angle_paren = ignore # ignore/add/remove/force
  271.  
  272. # Add or remove space between '>' and '()' as found in 'new List<byte>();'.
  273. sp_angle_paren_empty = ignore # ignore/add/remove/force
  274.  
  275. # Add or remove space between '>' and a word as in 'List<byte> m;' or
  276. # 'template <typename T> static ...'.
  277. sp_angle_word = ignore # ignore/add/remove/force
  278.  
  279. # Add or remove space between '>' and '>' in '>>' (template stuff).
  280. #
  281. # Default: add
  282. sp_angle_shift = add # ignore/add/remove/force
  283.  
  284. # (C++11) Permit removal of the space between '>>' in 'foo<bar<int> >'. Note
  285. # that sp_angle_shift cannot remove the space without this option.
  286. sp_permit_cpp11_shift = false # true/false
  287.  
  288. # Add or remove space before '(' of control statements ('if', 'for', 'switch',
  289. # 'while', etc.).
  290. sp_before_sparen = add # ignore/add/remove/force
  291.  
  292. # Add or remove space inside '(' and ')' of control statements.
  293. sp_inside_sparen = remove # ignore/add/remove/force
  294.  
  295. # Add or remove space after '(' of control statements.
  296. #
  297. # Overrides sp_inside_sparen.
  298. sp_inside_sparen_open = ignore # ignore/add/remove/force
  299.  
  300. # Add or remove space before ')' of control statements.
  301. #
  302. # Overrides sp_inside_sparen.
  303. sp_inside_sparen_close = ignore # ignore/add/remove/force
  304.  
  305. # Add or remove space after ')' of control statements.
  306. sp_after_sparen = ignore # ignore/add/remove/force
  307.  
  308. # Add or remove space between ')' and '{' of of control statements.
  309. sp_sparen_brace = add # ignore/add/remove/force
  310.  
  311. # (D) Add or remove space between 'invariant' and '('.
  312. sp_invariant_paren = ignore # ignore/add/remove/force
  313.  
  314. # (D) Add or remove space after the ')' in 'invariant (C) c'.
  315. sp_after_invariant_paren = ignore # ignore/add/remove/force
  316.  
  317. # Add or remove space before empty statement ';' on 'if', 'for' and 'while'.
  318. sp_special_semi = ignore # ignore/add/remove/force
  319.  
  320. # Add or remove space before ';'.
  321. #
  322. # Default: remove
  323. sp_before_semi = remove # ignore/add/remove/force
  324.  
  325. # Add or remove space before ';' in non-empty 'for' statements.
  326. sp_before_semi_for = ignore # ignore/add/remove/force
  327.  
  328. # Add or remove space before a semicolon of an empty part of a for statement.
  329. sp_before_semi_for_empty = ignore # ignore/add/remove/force
  330.  
  331. # Add or remove space after ';', except when followed by a comment.
  332. #
  333. # Default: add
  334. sp_after_semi = add # ignore/add/remove/force
  335.  
  336. # Add or remove space after ';' in non-empty 'for' statements.
  337. #
  338. # Default: force
  339. sp_after_semi_for = force # ignore/add/remove/force
  340.  
  341. # Add or remove space after the final semicolon of an empty part of a for
  342. # statement, as in 'for ( ; ; <here> )'.
  343. sp_after_semi_for_empty = ignore # ignore/add/remove/force
  344.  
  345. # Add or remove space before '[' (except '[]').
  346. sp_before_square = remove # ignore/add/remove/force
  347.  
  348. # Add or remove space before '[' for a variable definition.
  349. #
  350. # Default: remove
  351. sp_before_vardef_square = remove # ignore/add/remove/force
  352.  
  353. # Add or remove space before '[' for asm block.
  354. sp_before_square_asm_block = ignore # ignore/add/remove/force
  355.  
  356. # Add or remove space before '[]'.
  357. sp_before_squares = remove # ignore/add/remove/force
  358.  
  359. # Add or remove space before C++17 structured bindings.
  360. sp_cpp_before_struct_binding = ignore # ignore/add/remove/force
  361.  
  362. # Add or remove space inside a non-empty '[' and ']'.
  363. sp_inside_square = remove # ignore/add/remove/force
  364.  
  365. # (OC) Add or remove space inside a non-empty Objective-C boxed array '@[' and
  366. # ']'. If set to ignore, sp_inside_square is used.
  367. sp_inside_square_oc_array = remove # ignore/add/remove/force
  368.  
  369. # Add or remove space after ',', i.e. 'a,b' vs. 'a, b'.
  370. sp_after_comma = add # ignore/add/remove/force
  371.  
  372. # Add or remove space before ','.
  373. #
  374. # Default: remove
  375. sp_before_comma = remove # ignore/add/remove/force
  376.  
  377. # (C#) Add or remove space between ',' and ']' in multidimensional array type
  378. # like 'int[,,]'.
  379. sp_after_mdatype_commas = remove # ignore/add/remove/force
  380.  
  381. # (C#) Add or remove space between '[' and ',' in multidimensional array type
  382. # like 'int[,,]'.
  383. sp_before_mdatype_commas = remove # ignore/add/remove/force
  384.  
  385. # (C#) Add or remove space between ',' in multidimensional array type
  386. # like 'int[,,]'.
  387. sp_between_mdatype_commas = ignore # ignore/add/remove/force
  388.  
  389. # Add or remove space between an open parenthesis and comma,
  390. # i.e. '(,' vs. '( ,'.
  391. #
  392. # Default: force
  393. sp_paren_comma = force # ignore/add/remove/force
  394.  
  395. # Add or remove space before the variadic '...' when preceded by a
  396. # non-punctuator.
  397. sp_before_ellipsis = ignore # ignore/add/remove/force
  398.  
  399. # Add or remove space between a type and '...'.
  400. sp_type_ellipsis = ignore # ignore/add/remove/force
  401.  
  402. # (D) Add or remove space between a type and '?'.
  403. sp_type_question = ignore # ignore/add/remove/force
  404.  
  405. # Add or remove space between ')' and '...'.
  406. sp_paren_ellipsis = ignore # ignore/add/remove/force
  407.  
  408. # Add or remove space between ')' and a qualifier such as 'const'.
  409. sp_paren_qualifier = ignore # ignore/add/remove/force
  410.  
  411. # Add or remove space between ')' and 'noexcept'.
  412. sp_paren_noexcept = ignore # ignore/add/remove/force
  413.  
  414. # Add or remove space after class ':'.
  415. sp_after_class_colon = ignore # ignore/add/remove/force
  416.  
  417. # Add or remove space before class ':'.
  418. sp_before_class_colon = ignore # ignore/add/remove/force
  419.  
  420. # Add or remove space after class constructor ':'.
  421. sp_after_constr_colon = ignore # ignore/add/remove/force
  422.  
  423. # Add or remove space before class constructor ':'.
  424. sp_before_constr_colon = ignore # ignore/add/remove/force
  425.  
  426. # Add or remove space before case ':'.
  427. #
  428. # Default: remove
  429. sp_before_case_colon = remove # ignore/add/remove/force
  430.  
  431. # Add or remove space between 'operator' and operator sign.
  432. sp_after_operator = remove # ignore/add/remove/force
  433.  
  434. # Add or remove space between the operator symbol and the open parenthesis, as
  435. # in 'operator ++('.
  436. sp_after_operator_sym = ignore # ignore/add/remove/force
  437.  
  438. # Overrides sp_after_operator_sym when the operator has no arguments, as in
  439. # 'operator *()'.
  440. sp_after_operator_sym_empty = ignore # ignore/add/remove/force
  441.  
  442. # Add or remove space after C/D cast, i.e. 'cast(int)a' vs. 'cast(int) a' or
  443. # '(int)a' vs. '(int) a'.
  444. sp_after_cast = remove # ignore/add/remove/force
  445.  
  446. # Add or remove spaces inside cast parentheses.
  447. sp_inside_paren_cast = remove # ignore/add/remove/force
  448.  
  449. # Add or remove space between the type and open parenthesis in a C++ cast,
  450. # i.e. 'int(exp)' vs. 'int (exp)'.
  451. sp_cpp_cast_paren = remove # ignore/add/remove/force
  452.  
  453. # Add or remove space between 'sizeof' and '('.
  454. sp_sizeof_paren = remove # ignore/add/remove/force
  455.  
  456. # Add or remove space between 'sizeof' and '...'.
  457. sp_sizeof_ellipsis = ignore # ignore/add/remove/force
  458.  
  459. # Add or remove space between 'sizeof...' and '('.
  460. sp_sizeof_ellipsis_paren = ignore # ignore/add/remove/force
  461.  
  462. # Add or remove space between 'decltype' and '('.
  463. sp_decltype_paren = ignore # ignore/add/remove/force
  464.  
  465. # (Pawn) Add or remove space after the tag keyword.
  466. sp_after_tag = ignore # ignore/add/remove/force
  467.  
  468. # Add or remove space inside enum '{' and '}'.
  469. sp_inside_braces_enum = ignore # ignore/add/remove/force
  470.  
  471. # Add or remove space inside struct/union '{' and '}'.
  472. sp_inside_braces_struct = ignore # ignore/add/remove/force
  473.  
  474. # (OC) Add or remove space inside Objective-C boxed dictionary '{' and '}'
  475. sp_inside_braces_oc_dict = ignore # ignore/add/remove/force
  476.  
  477. # Add or remove space after open brace in an unnamed temporary
  478. # direct-list-initialization.
  479. sp_after_type_brace_init_lst_open = ignore # ignore/add/remove/force
  480.  
  481. # Add or remove space before close brace in an unnamed temporary
  482. # direct-list-initialization.
  483. sp_before_type_brace_init_lst_close = ignore # ignore/add/remove/force
  484.  
  485. # Add or remove space inside an unnamed temporary direct-list-initialization.
  486. sp_inside_type_brace_init_lst = ignore # ignore/add/remove/force
  487.  
  488. # Add or remove space inside '{' and '}'.
  489. sp_inside_braces = ignore # ignore/add/remove/force
  490.  
  491. # Add or remove space inside '{}'.
  492. sp_inside_braces_empty = ignore # ignore/add/remove/force
  493.  
  494. # Add or remove space around trailing return operator '->'.
  495. sp_trailing_return = ignore # ignore/add/remove/force
  496.  
  497. # Add or remove space between return type and function name. A minimum of 1
  498. # is forced except for pointer return types.
  499. sp_type_func = ignore # ignore/add/remove/force
  500.  
  501. # Add or remove space between type and open brace of an unnamed temporary
  502. # direct-list-initialization.
  503. sp_type_brace_init_lst = ignore # ignore/add/remove/force
  504.  
  505. # Add or remove space between function name and '(' on function declaration.
  506. sp_func_proto_paren = ignore # ignore/add/remove/force
  507.  
  508. # Add or remove space between function name and '()' on function declaration
  509. # without parameters.
  510. sp_func_proto_paren_empty = ignore # ignore/add/remove/force
  511.  
  512. # Add or remove space between function name and '(' with a typedef specifier.
  513. sp_func_type_paren = ignore # ignore/add/remove/force
  514.  
  515. # Add or remove space between alias name and '(' of a non-pointer function type typedef.
  516. sp_func_def_paren = ignore # ignore/add/remove/force
  517.  
  518. # Add or remove space between function name and '()' on function definition
  519. # without parameters.
  520. sp_func_def_paren_empty = ignore # ignore/add/remove/force
  521.  
  522. # Add or remove space inside empty function '()'.
  523. sp_inside_fparens = ignore # ignore/add/remove/force
  524.  
  525. # Add or remove space inside function '(' and ')'.
  526. sp_inside_fparen = ignore # ignore/add/remove/force
  527.  
  528. # Add or remove space inside the first parentheses in a function type, as in
  529. # 'void (*x)(...)'.
  530. sp_inside_tparen = ignore # ignore/add/remove/force
  531.  
  532. # Add or remove space between the ')' and '(' in a function type, as in
  533. # 'void (*x)(...)'.
  534. sp_after_tparen_close = ignore # ignore/add/remove/force
  535.  
  536. # Add or remove space between ']' and '(' when part of a function call.
  537. sp_square_fparen = ignore # ignore/add/remove/force
  538.  
  539. # Add or remove space between ')' and '{' of function.
  540. sp_fparen_brace = ignore # ignore/add/remove/force
  541.  
  542. # Add or remove space between ')' and '{' of s function call in object
  543. # initialization.
  544. #
  545. # Overrides sp_fparen_brace.
  546. sp_fparen_brace_initializer = ignore # ignore/add/remove/force
  547.  
  548. # (Java) Add or remove space between ')' and '{{' of double brace initializer.
  549. sp_fparen_dbrace = ignore # ignore/add/remove/force
  550.  
  551. # Add or remove space between function name and '(' on function calls.
  552. sp_func_call_paren = ignore # ignore/add/remove/force
  553.  
  554. # Add or remove space between function name and '()' on function calls without
  555. # parameters. If set to ignore (the default), sp_func_call_paren is used.
  556. sp_func_call_paren_empty = ignore # ignore/add/remove/force
  557.  
  558. # Add or remove space between the user function name and '(' on function
  559. # calls. You need to set a keyword to be a user function in the config file,
  560. # like:
  561. # set func_call_user tr _ i18n
  562. sp_func_call_user_paren = ignore # ignore/add/remove/force
  563.  
  564. # Add or remove space inside user function '(' and ')'.
  565. sp_func_call_user_inside_fparen = ignore # ignore/add/remove/force
  566.  
  567. # Add or remove space between nested parentheses with user functions,
  568. # i.e. '((' vs. '( ('.
  569. sp_func_call_user_paren_paren = ignore # ignore/add/remove/force
  570.  
  571. # Add or remove space between a constructor/destructor and the open
  572. # parenthesis.
  573. sp_func_class_paren = ignore # ignore/add/remove/force
  574.  
  575. # Add or remove space between a constructor without parameters or destructor
  576. # and '()'.
  577. sp_func_class_paren_empty = ignore # ignore/add/remove/force
  578.  
  579. # Add or remove space between 'return' and '('.
  580. sp_return_paren = add # ignore/add/remove/force
  581.  
  582. # Add or remove space between 'return' and '{'.
  583. sp_return_brace = add # ignore/add/remove/force
  584.  
  585. # Add or remove space between '__attribute__' and '('.
  586. sp_attribute_paren = ignore # ignore/add/remove/force
  587.  
  588. # Add or remove space between 'defined' and '(' in '#if defined (FOO)'.
  589. sp_defined_paren = ignore # ignore/add/remove/force
  590.  
  591. # Add or remove space between 'throw' and '(' in 'throw (something)'.
  592. sp_throw_paren = ignore # ignore/add/remove/force
  593.  
  594. # Add or remove space between 'throw' and anything other than '(' as in
  595. # '@throw [...];'.
  596. sp_after_throw = ignore # ignore/add/remove/force
  597.  
  598. # Add or remove space between 'catch' and '(' in 'catch (something) { }'.
  599. # If set to ignore, sp_before_sparen is used.
  600. sp_catch_paren = ignore # ignore/add/remove/force
  601.  
  602. # (OC) Add or remove space between '@catch' and '('
  603. # in '@catch (something) { }'. If set to ignore, sp_catch_paren is used.
  604. sp_oc_catch_paren = ignore # ignore/add/remove/force
  605.  
  606. # (OC) Add or remove space between class name and '('
  607. # in '@interface className(categoryName)<ProtocolName>:BaseClass'
  608. sp_oc_classname_paren = ignore # ignore/add/remove/force
  609.  
  610. # (D) Add or remove space between 'version' and '('
  611. # in 'version (something) { }'. If set to ignore, sp_before_sparen is used.
  612. sp_version_paren = ignore # ignore/add/remove/force
  613.  
  614. # (D) Add or remove space between 'scope' and '('
  615. # in 'scope (something) { }'. If set to ignore, sp_before_sparen is used.
  616. sp_scope_paren = ignore # ignore/add/remove/force
  617.  
  618. # Add or remove space between 'super' and '(' in 'super (something)'.
  619. #
  620. # Default: remove
  621. sp_super_paren = remove # ignore/add/remove/force
  622.  
  623. # Add or remove space between 'this' and '(' in 'this (something)'.
  624. #
  625. # Default: remove
  626. sp_this_paren = remove # ignore/add/remove/force
  627.  
  628. # Add or remove space between a macro name and its definition.
  629. sp_macro = ignore # ignore/add/remove/force
  630.  
  631. # Add or remove space between a macro function ')' and its definition.
  632. sp_macro_func = ignore # ignore/add/remove/force
  633.  
  634. # Add or remove space between 'else' and '{' if on the same line.
  635. sp_else_brace = add # ignore/add/remove/force
  636.  
  637. # Add or remove space between '}' and 'else' if on the same line.
  638. sp_brace_else = add # ignore/add/remove/force
  639.  
  640. # Add or remove space between '}' and the name of a typedef on the same line.
  641. sp_brace_typedef = ignore # ignore/add/remove/force
  642.  
  643. # Add or remove space before the '{' of a 'catch' statement, if the '{' and
  644. # 'catch' are on the same line, as in 'catch (decl) <here> {'.
  645. sp_catch_brace = add # ignore/add/remove/force
  646.  
  647. # (OC) Add or remove space before the '{' of a '@catch' statement, if the '{'
  648. # and '@catch' are on the same line, as in '@catch (decl) <here> {'.
  649. # If set to ignore, sp_catch_brace is used.
  650. sp_oc_catch_brace = add # ignore/add/remove/force
  651.  
  652. # Add or remove space between '}' and 'catch' if on the same line.
  653. sp_brace_catch = add # ignore/add/remove/force
  654.  
  655. # (OC) Add or remove space between '}' and '@catch' if on the same line.
  656. # If set to ignore, sp_brace_catch is used.
  657. sp_oc_brace_catch = add # ignore/add/remove/force
  658.  
  659. # Add or remove space between 'finally' and '{' if on the same line.
  660. sp_finally_brace = add # ignore/add/remove/force
  661.  
  662. # Add or remove space between '}' and 'finally' if on the same line.
  663. sp_brace_finally = add # ignore/add/remove/force
  664.  
  665. # Add or remove space between 'try' and '{' if on the same line.
  666. sp_try_brace = add # ignore/add/remove/force
  667.  
  668. # Add or remove space between get/set and '{' if on the same line.
  669. sp_getset_brace = add # ignore/add/remove/force
  670.  
  671. # Add or remove space between a variable and '{' for C++ uniform
  672. # initialization.
  673. #
  674. # Default: add
  675. sp_word_brace = add # ignore/add/remove/force
  676.  
  677. # Add or remove space between a variable and '{' for a namespace.
  678. #
  679. # Default: add
  680. sp_word_brace_ns = add # ignore/add/remove/force
  681.  
  682. # Add or remove space before the '::' operator.
  683. sp_before_dc = ignore # ignore/add/remove/force
  684.  
  685. # Add or remove space after the '::' operator.
  686. sp_after_dc = ignore # ignore/add/remove/force
  687.  
  688. # (D) Add or remove around the D named array initializer ':' operator.
  689. sp_d_array_colon = ignore # ignore/add/remove/force
  690.  
  691. # Add or remove space after the '!' (not) unary operator.
  692. #
  693. # Default: remove
  694. sp_not = remove # ignore/add/remove/force
  695.  
  696. # Add or remove space after the '~' (invert) unary operator.
  697. #
  698. # Default: remove
  699. sp_inv = remove # ignore/add/remove/force
  700.  
  701. # Add or remove space after the '&' (address-of) unary operator. This does not
  702. # affect the spacing after a '&' that is part of a type.
  703. #
  704. # Default: remove
  705. sp_addr = remove # ignore/add/remove/force
  706.  
  707. # Add or remove space around the '.' or '->' operators.
  708. #
  709. # Default: remove
  710. sp_member = remove # ignore/add/remove/force
  711.  
  712. # Add or remove space after the '*' (dereference) unary operator. This does
  713. # not affect the spacing after a '*' that is part of a type.
  714. #
  715. # Default: remove
  716. sp_deref = remove # ignore/add/remove/force
  717.  
  718. # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'.
  719. #
  720. # Default: remove
  721. sp_sign = remove # ignore/add/remove/force
  722.  
  723. # Add or remove space between '++' and '--' the word to which it is being
  724. # applied, as in '(--x)' or 'y++;'.
  725. #
  726. # Default: remove
  727. sp_incdec = remove # ignore/add/remove/force
  728.  
  729. # Add or remove space before a backslash-newline at the end of a line.
  730. #
  731. # Default: add
  732. sp_before_nl_cont = add # ignore/add/remove/force
  733.  
  734. # (OC) Add or remove space after the scope '+' or '-', as in '-(void) foo;'
  735. # or '+(int) bar;'.
  736. sp_after_oc_scope = ignore # ignore/add/remove/force
  737.  
  738. # (OC) Add or remove space after the colon in message specs,
  739. # i.e. '-(int) f:(int) x;' vs. '-(int) f: (int) x;'.
  740. sp_after_oc_colon = ignore # ignore/add/remove/force
  741.  
  742. # (OC) Add or remove space before the colon in message specs,
  743. # i.e. '-(int) f: (int) x;' vs. '-(int) f : (int) x;'.
  744. sp_before_oc_colon = ignore # ignore/add/remove/force
  745.  
  746. # (OC) Add or remove space after the colon in immutable dictionary expression
  747. # 'NSDictionary *test = @{@"foo" :@"bar"};'.
  748. sp_after_oc_dict_colon = ignore # ignore/add/remove/force
  749.  
  750. # (OC) Add or remove space before the colon in immutable dictionary expression
  751. # 'NSDictionary *test = @{@"foo" :@"bar"};'.
  752. sp_before_oc_dict_colon = ignore # ignore/add/remove/force
  753.  
  754. # (OC) Add or remove space after the colon in message specs,
  755. # i.e. '[object setValue:1];' vs. '[object setValue: 1];'.
  756. sp_after_send_oc_colon = ignore # ignore/add/remove/force
  757.  
  758. # (OC) Add or remove space before the colon in message specs,
  759. # i.e. '[object setValue:1];' vs. '[object setValue :1];'.
  760. sp_before_send_oc_colon = ignore # ignore/add/remove/force
  761.  
  762. # (OC) Add or remove space after the (type) in message specs,
  763. # i.e. '-(int)f: (int) x;' vs. '-(int)f: (int)x;'.
  764. sp_after_oc_type = ignore # ignore/add/remove/force
  765.  
  766. # (OC) Add or remove space after the first (type) in message specs,
  767. # i.e. '-(int) f:(int)x;' vs. '-(int)f:(int)x;'.
  768. sp_after_oc_return_type = ignore # ignore/add/remove/force
  769.  
  770. # (OC) Add or remove space between '@selector' and '(',
  771. # i.e. '@selector(msgName)' vs. '@selector (msgName)'.
  772. # Also applies to '@protocol()' constructs.
  773. sp_after_oc_at_sel = ignore # ignore/add/remove/force
  774.  
  775. # (OC) Add or remove space between '@selector(x)' and the following word,
  776. # i.e. '@selector(foo) a:' vs. '@selector(foo)a:'.
  777. sp_after_oc_at_sel_parens = ignore # ignore/add/remove/force
  778.  
  779. # (OC) Add or remove space inside '@selector' parentheses,
  780. # i.e. '@selector(foo)' vs. '@selector( foo )'.
  781. # Also applies to '@protocol()' constructs.
  782. sp_inside_oc_at_sel_parens = ignore # ignore/add/remove/force
  783.  
  784. # (OC) Add or remove space before a block pointer caret,
  785. # i.e. '^int (int arg){...}' vs. ' ^int (int arg){...}'.
  786. sp_before_oc_block_caret = ignore # ignore/add/remove/force
  787.  
  788. # (OC) Add or remove space after a block pointer caret,
  789. # i.e. '^int (int arg){...}' vs. '^ int (int arg){...}'.
  790. sp_after_oc_block_caret = ignore # ignore/add/remove/force
  791.  
  792. # (OC) Add or remove space between the receiver and selector in a message,
  793. # as in '[receiver selector ...]'.
  794. sp_after_oc_msg_receiver = ignore # ignore/add/remove/force
  795.  
  796. # (OC) Add or remove space after '@property'.
  797. sp_after_oc_property = ignore # ignore/add/remove/force
  798.  
  799. # (OC) Add or remove space between '@synchronized' and the open parenthesis,
  800. # i.e. '@synchronized(foo)' vs. '@synchronized (foo)'.
  801. sp_after_oc_synchronized = ignore # ignore/add/remove/force
  802.  
  803. # Add or remove space around the ':' in 'b ? t : f'.
  804. sp_cond_colon = ignore # ignore/add/remove/force
  805.  
  806. # Add or remove space before the ':' in 'b ? t : f'.
  807. #
  808. # Overrides sp_cond_colon.
  809. sp_cond_colon_before = ignore # ignore/add/remove/force
  810.  
  811. # Add or remove space after the ':' in 'b ? t : f'.
  812. #
  813. # Overrides sp_cond_colon.
  814. sp_cond_colon_after = ignore # ignore/add/remove/force
  815.  
  816. # Add or remove space around the '?' in 'b ? t : f'.
  817. sp_cond_question = ignore # ignore/add/remove/force
  818.  
  819. # Add or remove space before the '?' in 'b ? t : f'.
  820. #
  821. # Overrides sp_cond_question.
  822. sp_cond_question_before = ignore # ignore/add/remove/force
  823.  
  824. # Add or remove space after the '?' in 'b ? t : f'.
  825. #
  826. # Overrides sp_cond_question.
  827. sp_cond_question_after = ignore # ignore/add/remove/force
  828.  
  829. # In the abbreviated ternary form '(a ?: b)', add or remove space between '?'
  830. # and ':'.
  831. #
  832. # Overrides all other sp_cond_* options.
  833. sp_cond_ternary_short = ignore # ignore/add/remove/force
  834.  
  835. # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make
  836. # sense here.
  837. sp_case_label = ignore # ignore/add/remove/force
  838.  
  839. # (D) Add or remove space around the D '..' operator.
  840. sp_range = ignore # ignore/add/remove/force
  841.  
  842. # Add or remove space after ':' in a Java/C++11 range-based 'for',
  843. # as in 'for (Type var : expr)'.
  844. sp_after_for_colon = ignore # ignore/add/remove/force
  845.  
  846. # Add or remove space before ':' in a Java/C++11 range-based 'for',
  847. # as in 'for (Type var : expr)'.
  848. sp_before_for_colon = ignore # ignore/add/remove/force
  849.  
  850. # (D) Add or remove space between 'extern' and '(' as in 'extern (C)'.
  851. sp_extern_paren = ignore # ignore/add/remove/force
  852.  
  853. # Add or remove space after the opening of a C++ comment,
  854. # i.e. '// A' vs. '//A'.
  855. sp_cmt_cpp_start = ignore # ignore/add/remove/force
  856.  
  857. # If true, space is added with sp_cmt_cpp_start will be added after doxygen
  858. # sequences like '///', '///<', '//!' and '//!<'.
  859. sp_cmt_cpp_doxygen = false # true/false
  860.  
  861. # If true, space is added with sp_cmt_cpp_start will be added after Qt
  862. # translator or meta-data comments like '//:', '//=', and '//~'.
  863. sp_cmt_cpp_qttr = false # true/false
  864.  
  865. # Add or remove space between #else or #endif and a trailing comment.
  866. sp_endif_cmt = ignore # ignore/add/remove/force
  867.  
  868. # Add or remove space after 'new', 'delete' and 'delete[]'.
  869. sp_after_new = ignore # ignore/add/remove/force
  870.  
  871. # Add or remove space between 'new' and '(' in 'new()'.
  872. sp_between_new_paren = ignore # ignore/add/remove/force
  873.  
  874. # Add or remove space between ')' and type in 'new(foo) BAR'.
  875. sp_after_newop_paren = ignore # ignore/add/remove/force
  876.  
  877. # Add or remove space inside parenthesis of the new operator
  878. # as in 'new(foo) BAR'.
  879. sp_inside_newop_paren = ignore # ignore/add/remove/force
  880.  
  881. # Add or remove space after the open parenthesis of the new operator,
  882. # as in 'new(foo) BAR'.
  883. #
  884. # Overrides sp_inside_newop_paren.
  885. sp_inside_newop_paren_open = ignore # ignore/add/remove/force
  886.  
  887. # Add or remove space before the close parenthesis of the new operator,
  888. # as in 'new(foo) BAR'.
  889. #
  890. # Overrides sp_inside_newop_paren.
  891. sp_inside_newop_paren_close = ignore # ignore/add/remove/force
  892.  
  893. # Add or remove space before a trailing or embedded comment.
  894. sp_before_tr_emb_cmt = ignore # ignore/add/remove/force
  895.  
  896. # Number of spaces before a trailing or embedded comment.
  897. sp_num_before_tr_emb_cmt = 0 # unsigned number
  898.  
  899. # (Java) Add or remove space between an annotation and the open parenthesis.
  900. sp_annotation_paren = ignore # ignore/add/remove/force
  901.  
  902. # If true, vbrace tokens are dropped to the previous token and skipped.
  903. sp_skip_vbrace_tokens = false # true/false
  904.  
  905. # Add or remove space after 'noexcept'.
  906. sp_after_noexcept = ignore # ignore/add/remove/force
  907.  
  908. # Add or remove space after '_'.
  909. sp_vala_after_translation = ignore # ignore/add/remove/force
  910.  
  911. # If true, a <TAB> is inserted after #define.
  912. force_tab_after_define = false # true/false
  913.  
  914. #
  915. # Indenting options
  916. #
  917.  
  918. # The number of columns to indent per level. Usually 2, 3, 4, or 8.
  919. #
  920. # Default: 8
  921. indent_columns = 4 # unsigned number
  922.  
  923. # The continuation indent. If non-zero, this overrides the indent of '(', '['
  924. # and '=' continuation indents. Negative values are OK; negative value is
  925. # absolute and not increased for each '(' or '[' level.
  926. #
  927. # For FreeBSD, this is set to 4.
  928. indent_continue = 0 # number
  929.  
  930. # The continuation indent, only for class header line(s). If non-zero, this
  931. # overrides the indent of 'class' continuation indents.
  932. indent_continue_class_head = 0 # unsigned number
  933.  
  934. # Whether to indent empty lines (i.e. lines which contain only spaces before
  935. # the newline character).
  936. indent_single_newlines = false # true/false
  937.  
  938. # The continuation indent for func_*_param if they are true. If non-zero, this
  939. # overrides the indent.
  940. indent_param = 0 # unsigned number
  941.  
  942. # How to use tabs when indenting code.
  943. #
  944. # 0: Spaces only
  945. # 1: Indent with tabs to brace level, align with spaces (default)
  946. # 2: Indent and align with tabs, using spaces when not on a tabstop
  947. #
  948. # Default: 1
  949. indent_with_tabs = 0 # unsigned number
  950.  
  951. # Whether to indent comments that are not at a brace level with tabs on a
  952. # tabstop. Requires indent_with_tabs=2. If false, will use spaces.
  953. indent_cmt_with_tabs = false # true/false
  954.  
  955. # Whether to indent strings broken by '\' so that they line up.
  956. indent_align_string = true # true/false
  957.  
  958. # The number of spaces to indent multi-line XML strings.
  959. # Requires indent_align_string=true.
  960. indent_xml_string = 0 # unsigned number
  961.  
  962. # Spaces to indent '{' from level.
  963. indent_brace = 0 # unsigned number
  964.  
  965. # Whether braces are indented to the body level.
  966. indent_braces = false # true/false
  967.  
  968. # Whether to disable indenting function braces if indent_braces=true.
  969. indent_braces_no_func = false # true/false
  970.  
  971. # Whether to disable indenting class braces if indent_braces=true.
  972. indent_braces_no_class = false # true/false
  973.  
  974. # Whether to disable indenting struct braces if indent_braces=true.
  975. indent_braces_no_struct = false # true/false
  976.  
  977. # Whether to indent based on the size of the brace parent,
  978. # i.e. 'if' → 3 spaces, 'for' → 4 spaces, etc.
  979. indent_brace_parent = false # true/false
  980.  
  981. # Whether to indent based on the open parenthesis instead of the open brace
  982. # in '({\n'.
  983. indent_paren_open_brace = false # true/false
  984.  
  985. # (C#) Whether to indent the brace of a C# delegate by another level.
  986. indent_cs_delegate_brace = false # true/false
  987.  
  988. # (C#) Whether to indent a C# delegate (to handle delegates with no brace) by
  989. # another level.
  990. indent_cs_delegate_body = false # true/false
  991.  
  992. # Whether to indent the body of a 'namespace'.
  993. indent_namespace = false # true/false
  994.  
  995. # Whether to indent only the first namespace, and not any nested namespaces.
  996. # Requires indent_namespace=true.
  997. indent_namespace_single_indent = false # true/false
  998.  
  999. # The number of spaces to indent a namespace block.
  1000. indent_namespace_level = 0 # unsigned number
  1001.  
  1002. # If the body of the namespace is longer than this number, it won't be
  1003. # indented. Requires indent_namespace=true. 0 means no limit.
  1004. indent_namespace_limit = 0 # unsigned number
  1005.  
  1006. # Whether the 'extern "C"' body is indented.
  1007. indent_extern = false # true/false
  1008.  
  1009. # Whether the 'class' body is indented.
  1010. indent_class = true # true/false
  1011.  
  1012. # Whether to indent the stuff after a leading base class colon.
  1013. indent_class_colon = false # true/false
  1014.  
  1015. # Whether to indent based on a class colon instead of the stuff after the
  1016. # colon. Requires indent_class_colon=true.
  1017. indent_class_on_colon = false # true/false
  1018.  
  1019. # Whether to indent the stuff after a leading class initializer colon.
  1020. indent_constr_colon = false # true/false
  1021.  
  1022. # Virtual indent from the ':' for member initializers.
  1023. #
  1024. # Default: 2
  1025. indent_ctor_init_leading = 2 # unsigned number
  1026.  
  1027. # Additional indent for constructor initializer list.
  1028. # Negative values decrease indent down to the first column.
  1029. indent_ctor_init = 0 # number
  1030.  
  1031. # Whether to indent 'if' following 'else' as a new block under the 'else'.
  1032. # If false, 'else\nif' is treated as 'else if' for indenting purposes.
  1033. indent_else_if = false # true/false
  1034.  
  1035. # Amount to indent variable declarations after a open brace.
  1036. #
  1037. # <0: Relative
  1038. # ≥0: Absolute
  1039. indent_var_def_blk = 0 # number
  1040.  
  1041. # Whether to indent continued variable declarations instead of aligning.
  1042. indent_var_def_cont = false # true/false
  1043.  
  1044. # Whether to indent continued shift expressions ('<<' and '>>') instead of
  1045. # aligning. Set align_left_shift=false when enabling this.
  1046. indent_shift = false # true/false
  1047.  
  1048. # Whether to force indentation of function definitions to start in column 1.
  1049. indent_func_def_force_col1 = false # true/false
  1050.  
  1051. # Whether to indent continued function call parameters one indent level,
  1052. # rather than aligning parameters under the open parenthesis.
  1053. indent_func_call_param = false # true/false
  1054.  
  1055. # Whether to indent continued function definition parameters one indent level,
  1056. # rather than aligning parameters under the open parenthesis.
  1057. indent_func_def_param = false # true/false
  1058.  
  1059. # for function definitions, only if indent_func_def_param is false
  1060. # Allows to align params when appropriate and indent them when not
  1061. # behave as if it was true if paren position is more than this value
  1062. # if paren position is more than the option value
  1063. indent_func_def_param_paren_pos_threshold = 0 # unsigned number
  1064.  
  1065. # Whether to indent continued function call prototype one indent level,
  1066. # rather than aligning parameters under the open parenthesis.
  1067. indent_func_proto_param = false # true/false
  1068.  
  1069. # Whether to indent continued function call declaration one indent level,
  1070. # rather than aligning parameters under the open parenthesis.
  1071. indent_func_class_param = false # true/false
  1072.  
  1073. # Whether to indent continued class variable constructors one indent level,
  1074. # rather than aligning parameters under the open parenthesis.
  1075. indent_func_ctor_var_param = false # true/false
  1076.  
  1077. # Whether to indent continued template parameter list one indent level,
  1078. # rather than aligning parameters under the open parenthesis.
  1079. indent_template_param = false # true/false
  1080.  
  1081. # Double the indent for indent_func_xxx_param options.
  1082. # Use both values of the options indent_columns and indent_param.
  1083. indent_func_param_double = false # true/false
  1084.  
  1085. # Indentation column for standalone 'const' qualifier on a function
  1086. # prototype.
  1087. indent_func_const = 4 # unsigned number
  1088.  
  1089. # Indentation column for standalone 'throw' qualifier on a function
  1090. # prototype.
  1091. indent_func_throw = 0 # unsigned number
  1092.  
  1093. # How to indent within a macro followed by a brace on the same line
  1094. # This allows reducing the indent in macros that have (for example)
  1095. # `do { ... } while (0)` blocks bracketing them.
  1096. #
  1097. # true: add an indent for the brace on the same line as the macro
  1098. # false: do not add an indent for the brace on the same line as the macro
  1099. #
  1100. # Default: true
  1101. indent_macro_brace = true # true/false
  1102.  
  1103. # The number of spaces to indent a continued '->' or '.'.
  1104. # Usually set to 0, 1, or indent_columns.
  1105. indent_member = 0 # unsigned number
  1106.  
  1107. # Whether lines broken at '.' or '->' should be indented by a single indent.
  1108. # The indent_member option will not be effective if this is set to true.
  1109. indent_member_single = false # true/false
  1110.  
  1111. # Spaces to indent single line ('//') comments on lines before code.
  1112. indent_sing_line_comments = 0 # unsigned number
  1113.  
  1114. # Whether to indent trailing single line ('//') comments relative to the code
  1115. # instead of trying to keep the same absolute column.
  1116. indent_relative_single_line_comments = false # true/false
  1117.  
  1118. # Spaces to indent 'case' from 'switch'. Usually 0 or indent_columns.
  1119. indent_switch_case = 4 # unsigned number
  1120.  
  1121. # indent 'break' with 'case' from 'switch'.
  1122. indent_switch_break_with_case = false # true/false
  1123.  
  1124. # Whether to indent preprocessor statements inside of switch statements.
  1125. #
  1126. # Default: true
  1127. indent_switch_pp = true # true/false
  1128.  
  1129. # Spaces to shift the 'case' line, without affecting any other lines.
  1130. # Usually 0.
  1131. indent_case_shift = 0 # unsigned number
  1132.  
  1133. # Spaces to indent '{' from 'case'. By default, the brace will appear under
  1134. # the 'c' in case. Usually set to 0 or indent_columns. Negative values are OK.
  1135. indent_case_brace = 0 # number
  1136.  
  1137. # Whether to indent comments found in first column.
  1138. indent_col1_comment = false # true/false
  1139.  
  1140. # Whether to indent multi string literal in first column.
  1141. indent_col1_multi_string_literal = false # true/false
  1142.  
  1143. # How to indent goto labels.
  1144. #
  1145. # >0: Absolute column where 1 is the leftmost column
  1146. # ≤0: Subtract from brace indent
  1147. #
  1148. # Default: 1
  1149. indent_label = 1 # number
  1150.  
  1151. # How to indent access specifiers that are followed by a
  1152. # colon.
  1153. #
  1154. # >0: Absolute column where 1 is the leftmost column
  1155. # <=0: Subtract from brace indent
  1156. #
  1157. # Default: 1
  1158. indent_access_spec = 1 # number
  1159.  
  1160. # Whether to indent the code after an access specifier by one level.
  1161. # If true, this option forces 'indent_access_spec=0'.
  1162. indent_access_spec_body = false # true/false
  1163.  
  1164. # If an open parenthesis is followed by a newline, whether to indent the next
  1165. # line so that it lines up after the open parenthesis (not recommended).
  1166. indent_paren_nl = false # true/false
  1167.  
  1168. # How to indent a close parenthesis after a newline.
  1169. #
  1170. # 0: Indent to body level (default)
  1171. # 1: Align under the open parenthesis
  1172. # 2: Indent to the brace level
  1173. indent_paren_close = 2 # unsigned number
  1174.  
  1175. # Whether to indent the open parenthesis of a function definition,
  1176. # if the parenthesis is on its own line.
  1177. indent_paren_after_func_def = false # true/false
  1178.  
  1179. # Whether to indent the open parenthesis of a function declaration,
  1180. # if the parenthesis is on its own line.
  1181. indent_paren_after_func_decl = false # true/false
  1182.  
  1183. # Whether to indent the open parenthesis of a function call,
  1184. # if the parenthesis is on its own line.
  1185. indent_paren_after_func_call = false # true/false
  1186.  
  1187. # Whether to indent a comma when inside a parenthesis.
  1188. # If true, aligns under the open parenthesis.
  1189. indent_comma_paren = false # true/false
  1190.  
  1191. # Whether to indent a Boolean operator when inside a parenthesis.
  1192. # If true, aligns under the open parenthesis.
  1193. indent_bool_paren = false # true/false
  1194.  
  1195. # Whether to indent a semicolon when inside a for parenthesis.
  1196. # If true, aligns under the open for parenthesis.
  1197. indent_semicolon_for_paren = false # true/false
  1198.  
  1199. # Whether to align the first expression to following ones
  1200. # if indent_bool_paren=true.
  1201. indent_first_bool_expr = false # true/false
  1202.  
  1203. # Whether to align the first expression to following ones
  1204. # if indent_semicolon_for_paren=true.
  1205. indent_first_for_expr = false # true/false
  1206.  
  1207. # If an open square is followed by a newline, whether to indent the next line
  1208. # so that it lines up after the open square (not recommended).
  1209. indent_square_nl = false # true/false
  1210.  
  1211. # (ESQL/C) Whether to preserve the relative indent of 'EXEC SQL' bodies.
  1212. indent_preserve_sql = false # true/false
  1213.  
  1214. # Whether to align continued statements at the '='. If false or if the '=' is
  1215. # followed by a newline, the next line is indent one tab.
  1216. #
  1217. # Default: true
  1218. indent_align_assign = true # true/false
  1219.  
  1220. # Whether to align continued statements at the '('. If false or the '(' is not
  1221. # followed by a newline, the next line indent is one tab.
  1222. #
  1223. # Default: true
  1224. indent_align_paren = true # true/false
  1225.  
  1226. # (OC) Whether to indent Objective-C blocks at brace level instead of usual
  1227. # rules.
  1228. indent_oc_block = true # true/false
  1229.  
  1230. # (OC) Indent for Objective-C blocks in a message relative to the parameter
  1231. # name.
  1232. #
  1233. # =0: Use indent_oc_block rules
  1234. # >0: Use specified number of spaces to indent
  1235. indent_oc_block_msg = 0 # unsigned number
  1236.  
  1237. # (OC) Minimum indent for subsequent parameters
  1238. indent_oc_msg_colon = 0 # unsigned number
  1239.  
  1240. # (OC) Whether to prioritize aligning with initial colon (and stripping spaces
  1241. # from lines, if necessary).
  1242. #
  1243. # Default: true
  1244. indent_oc_msg_prioritize_first_colon = true # true/false
  1245.  
  1246. # (OC) Whether to indent blocks the way that Xcode does by default
  1247. # (from the keyword if the parameter is on its own line; otherwise, from the
  1248. # previous indentation level). Requires indent_oc_block_msg=true.
  1249. indent_oc_block_msg_xcode_style = false # true/false
  1250.  
  1251. # (OC) Whether to indent blocks from where the brace is, relative to a
  1252. # message keyword. Requires indent_oc_block_msg=true.
  1253. indent_oc_block_msg_from_keyword = false # true/false
  1254.  
  1255. # (OC) Whether to indent blocks from where the brace is, relative to a message
  1256. # colon. Requires indent_oc_block_msg=true.
  1257. indent_oc_block_msg_from_colon = false # true/false
  1258.  
  1259. # (OC) Whether to indent blocks from where the block caret is.
  1260. # Requires indent_oc_block_msg=true.
  1261. indent_oc_block_msg_from_caret = false # true/false
  1262.  
  1263. # (OC) Whether to indent blocks from where the brace caret is.
  1264. # Requires indent_oc_block_msg=true.
  1265. indent_oc_block_msg_from_brace = false # true/false
  1266.  
  1267. # When indenting after virtual brace open and newline add further spaces to
  1268. # reach this minimum indent.
  1269. indent_min_vbrace_open = 0 # unsigned number
  1270.  
  1271. # Whether to add further spaces after regular indent to reach next tabstop
  1272. # when identing after virtual brace open and newline.
  1273. indent_vbrace_open_on_tabstop = false # true/false
  1274.  
  1275. # How to indent after a brace followed by another token (not a newline).
  1276. # true: indent all contained lines to match the token
  1277. # false: indent all contained lines to match the brace
  1278. #
  1279. # Default: true
  1280. indent_token_after_brace = true # true/false
  1281.  
  1282. # Whether to indent the body of a C++11 lambda.
  1283. indent_cpp_lambda_body = false # true/false
  1284.  
  1285. # (C#) Whether to indent a 'using' block if no braces are used.
  1286. #
  1287. # Default: true
  1288. indent_using_block = true # true/false
  1289.  
  1290. # How to indent the continuation of ternary operator.
  1291. #
  1292. # 0: Off (default)
  1293. # 1: When the `if_false` is a continuation, indent it under `if_false`
  1294. # 2: When the `:` is a continuation, indent it under `?`
  1295. indent_ternary_operator = 2 # unsigned number
  1296.  
  1297. # If true, the indentation of the chunks after a `return new` sequence will be set at return indentation column.
  1298. indent_off_after_return_new = false # true/false
  1299.  
  1300. # If true, the tokens after return are indented with regular single indentation. By default (false) the indentation is after the return token.
  1301. indent_single_after_return = false # true/false
  1302.  
  1303. # Whether to ignore indent and alignment for 'asm' blocks (i.e. assume they
  1304. # have their own indentation).
  1305. indent_ignore_asm_block = false # true/false
  1306.  
  1307. #
  1308. # Newline adding and removing options
  1309. #
  1310.  
  1311. # Whether to collapse empty blocks between '{' and '}'.
  1312. nl_collapse_empty_body = false # true/false
  1313.  
  1314. # Don't split one-line braced assignments, as in 'foo_t f = { 1, 2 };'.
  1315. nl_assign_leave_one_liners = false # true/false
  1316.  
  1317. # Don't split one-line braced statements inside a 'class xx { }' body.
  1318. nl_class_leave_one_liners = false # true/false
  1319.  
  1320. # Don't split one-line enums, as in 'enum foo { BAR = 15 };'
  1321. nl_enum_leave_one_liners = false # true/false
  1322.  
  1323. # Don't split one-line get or set functions.
  1324. nl_getset_leave_one_liners = false # true/false
  1325.  
  1326. # (C#) Don't split one-line property get or set functions.
  1327. nl_cs_property_leave_one_liners = false # true/false
  1328.  
  1329. # Don't split one-line function definitions, as in 'int foo() { return 0; }'.
  1330. nl_func_leave_one_liners = true # true/false
  1331.  
  1332. # Don't split one-line C++11 lambdas, as in '[]() { return 0; }'.
  1333. nl_cpp_lambda_leave_one_liners = false # true/false
  1334.  
  1335. # Don't split one-line if/else statements, as in 'if(...) b++;'.
  1336. nl_if_leave_one_liners = false # true/false
  1337.  
  1338. # Don't split one-line while statements, as in 'while(...) b++;'.
  1339. nl_while_leave_one_liners = false # true/false
  1340.  
  1341. # Don't split one-line for statements, as in 'for(...) b++;'.
  1342. nl_for_leave_one_liners = false # true/false
  1343.  
  1344. # (OC) Don't split one-line Objective-C messages.
  1345. nl_oc_msg_leave_one_liner = false # true/false
  1346.  
  1347. # (OC) Add or remove newline between method declaration and '{'.
  1348. nl_oc_mdef_brace = remove # ignore/add/remove/force
  1349.  
  1350. # (OC) Add or remove newline between Objective-C block signature and '{'.
  1351. nl_oc_block_brace = remove # ignore/add/remove/force
  1352.  
  1353. # (OC) Add or remove blank line before '@interface' statement.
  1354. nl_oc_before_interface = ignore # ignore/add/remove/force
  1355.  
  1356. # (OC) Add or remove blank line before '@implementation' statement.
  1357. nl_oc_before_implementation = ignore # ignore/add/remove/force
  1358.  
  1359. # (OC) Add or remove blank line before '@end' statement.
  1360. nl_oc_before_end = ignore # ignore/add/remove/force
  1361.  
  1362. # (OC) Add or remove newline between '@interface' and '{'.
  1363. nl_oc_interface_brace = remove # ignore/add/remove/force
  1364.  
  1365. # (OC) Add or remove newline between '@implementation' and '{'.
  1366. nl_oc_implementation_brace = remove # ignore/add/remove/force
  1367.  
  1368. # Add or remove newlines at the start of the file.
  1369. nl_start_of_file = ignore # ignore/add/remove/force
  1370.  
  1371. # The minimum number of newlines at the start of the file (only used if
  1372. # nl_start_of_file is 'add' or 'force').
  1373. nl_start_of_file_min = 0 # unsigned number
  1374.  
  1375. # Add or remove newline at the end of the file.
  1376. nl_end_of_file = ignore # ignore/add/remove/force
  1377.  
  1378. # The minimum number of newlines at the end of the file (only used if
  1379. # nl_end_of_file is 'add' or 'force').
  1380. nl_end_of_file_min = 0 # unsigned number
  1381.  
  1382. # Add or remove newline between '=' and '{'.
  1383. nl_assign_brace = ignore # ignore/add/remove/force
  1384.  
  1385. # (D) Add or remove newline between '=' and '['.
  1386. nl_assign_square = ignore # ignore/add/remove/force
  1387.  
  1388. # Add or remove newline between '[]' and '{'.
  1389. nl_tsquare_brace = ignore # ignore/add/remove/force
  1390.  
  1391. # (D) Add or remove newline after '= ['. Will also affect the newline before
  1392. # the ']'.
  1393. nl_after_square_assign = ignore # ignore/add/remove/force
  1394.  
  1395. # The number of blank lines after a block of variable definitions at the top
  1396. # of a function body.
  1397. #
  1398. # 0 = No change (default).
  1399. nl_func_var_def_blk = 0 # unsigned number
  1400.  
  1401. # The number of newlines before a block of typedefs. If nl_after_access_spec
  1402. # is non-zero, that option takes precedence.
  1403. #
  1404. # 0 = No change (default).
  1405. nl_typedef_blk_start = 0 # unsigned number
  1406.  
  1407. # The number of newlines after a block of typedefs.
  1408. #
  1409. # 0 = No change (default).
  1410. nl_typedef_blk_end = 0 # unsigned number
  1411.  
  1412. # The maximum number of consecutive newlines within a block of typedefs.
  1413. #
  1414. # 0 = No change (default).
  1415. nl_typedef_blk_in = 0 # unsigned number
  1416.  
  1417. # The number of newlines before a block of variable definitions not at the top
  1418. # of a function body. If nl_after_access_spec is non-zero, that option takes
  1419. # precedence.
  1420. #
  1421. # 0 = No change (default).
  1422. nl_var_def_blk_start = 0 # unsigned number
  1423.  
  1424. # The number of newlines after a block of variable definitions not at the top
  1425. # of a function body.
  1426. #
  1427. # 0 = No change (default).
  1428. nl_var_def_blk_end = 0 # unsigned number
  1429.  
  1430. # The maximum number of consecutive newlines within a block of variable
  1431. # definitions.
  1432. #
  1433. # 0 = No change (default).
  1434. nl_var_def_blk_in = 0 # unsigned number
  1435.  
  1436. # Add or remove newline between a function call's ')' and '{', as in
  1437. # 'list_for_each(item, &list) { }'.
  1438. nl_fcall_brace = ignore # ignore/add/remove/force
  1439.  
  1440. # Add or remove newline between 'enum' and '{'.
  1441. nl_enum_brace = remove # ignore/add/remove/force
  1442.  
  1443. # Add or remove newline between 'enum' and 'class'.
  1444. nl_enum_class = remove # ignore/add/remove/force
  1445.  
  1446. # Add or remove newline between 'enum class' and the identifier.
  1447. nl_enum_class_identifier = ignore # ignore/add/remove/force
  1448.  
  1449. # Add or remove newline between 'enum class' type and ':'.
  1450. nl_enum_identifier_colon = ignore # ignore/add/remove/force
  1451.  
  1452. # Add or remove newline between 'enum class identifier :' and type.
  1453. nl_enum_colon_type = ignore # ignore/add/remove/force
  1454.  
  1455. # Add or remove newline between 'struct and '{'.
  1456. nl_struct_brace = remove # ignore/add/remove/force
  1457.  
  1458. # Add or remove newline between 'union' and '{'.
  1459. nl_union_brace = remove # ignore/add/remove/force
  1460.  
  1461. # Add or remove newline between 'if' and '{'.
  1462. nl_if_brace = remove # ignore/add/remove/force
  1463.  
  1464. # Add or remove newline between '}' and 'else'.
  1465. nl_brace_else = remove # ignore/add/remove/force
  1466.  
  1467. # Add or remove newline between 'else if' and '{'. If set to ignore,
  1468. # nl_if_brace is used instead.
  1469. nl_elseif_brace = remove # ignore/add/remove/force
  1470.  
  1471. # Add or remove newline between 'else' and '{'.
  1472. nl_else_brace = remove # ignore/add/remove/force
  1473.  
  1474. # Add or remove newline between 'else' and 'if'.
  1475. nl_else_if = ignore # ignore/add/remove/force
  1476.  
  1477. # Add or remove newline before 'if'/'else if' closing parenthesis.
  1478. nl_before_if_closing_paren = ignore # ignore/add/remove/force
  1479.  
  1480. # Add or remove newline between '}' and 'finally'.
  1481. nl_brace_finally = remove # ignore/add/remove/force
  1482.  
  1483. # Add or remove newline between 'finally' and '{'.
  1484. nl_finally_brace = remove # ignore/add/remove/force
  1485.  
  1486. # Add or remove newline between 'try' and '{'.
  1487. nl_try_brace = remove # ignore/add/remove/force
  1488.  
  1489. # Add or remove newline between get/set and '{'.
  1490. nl_getset_brace = ignore # ignore/add/remove/force
  1491.  
  1492. # Add or remove newline between 'for' and '{'.
  1493. nl_for_brace = ignore # ignore/add/remove/force
  1494.  
  1495. # Add or remove newline before the '{' of a 'catch' statement, as in
  1496. # 'catch (decl) <here> {'.
  1497. nl_catch_brace = ignore # ignore/add/remove/force
  1498.  
  1499. # (OC) Add or remove newline before the '{' of a '@catch' statement, as in
  1500. # '@catch (decl) <here> {'. If set to ignore, nl_catch_brace is used.
  1501. nl_oc_catch_brace = ignore # ignore/add/remove/force
  1502.  
  1503. # Add or remove newline between '}' and 'catch'.
  1504. nl_brace_catch = ignore # ignore/add/remove/force
  1505.  
  1506. # (OC) Add or remove newline between '}' and '@catch'. If set to ignore,
  1507. # nl_brace_catch is used.
  1508. nl_oc_brace_catch = ignore # ignore/add/remove/force
  1509.  
  1510. # Add or remove newline between '}' and ']'.
  1511. nl_brace_square = ignore # ignore/add/remove/force
  1512.  
  1513. # Add or remove newline between '}' and ')' in a function invocation.
  1514. nl_brace_fparen = ignore # ignore/add/remove/force
  1515.  
  1516. # Add or remove newline between 'while' and '{'.
  1517. nl_while_brace = remove # ignore/add/remove/force
  1518.  
  1519. # (D) Add or remove newline between 'scope (x)' and '{'.
  1520. nl_scope_brace = ignore # ignore/add/remove/force
  1521.  
  1522. # (D) Add or remove newline between 'unittest' and '{'.
  1523. nl_unittest_brace = ignore # ignore/add/remove/force
  1524.  
  1525. # (D) Add or remove newline between 'version (x)' and '{'.
  1526. nl_version_brace = ignore # ignore/add/remove/force
  1527.  
  1528. # (C#) Add or remove newline between 'using' and '{'.
  1529. nl_using_brace = ignore # ignore/add/remove/force
  1530.  
  1531. # Add or remove newline between two open or close braces. Due to general
  1532. # newline/brace handling, REMOVE may not work.
  1533. nl_brace_brace = ignore # ignore/add/remove/force
  1534.  
  1535. # Add or remove newline between 'do' and '{'.
  1536. nl_do_brace = remove # ignore/add/remove/force
  1537.  
  1538. # Add or remove newline between '}' and 'while' of 'do' statement.
  1539. nl_brace_while = remove # ignore/add/remove/force
  1540.  
  1541. # Add or remove newline between 'switch' and '{'.
  1542. nl_switch_brace = remove # ignore/add/remove/force
  1543.  
  1544. # Add or remove newline between 'synchronized' and '{'.
  1545. nl_synchronized_brace = remove # ignore/add/remove/force
  1546.  
  1547. # Add a newline between ')' and '{' if the ')' is on a different line than the
  1548. # if/for/etc.
  1549. #
  1550. # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch and
  1551. # nl_catch_brace.
  1552. nl_multi_line_cond = false # true/false
  1553.  
  1554. # Add a newline after '(' if an if/for/while/switch condition spans multiple
  1555. # lines
  1556. nl_multi_line_sparen_open = ignore # ignore/add/remove/force
  1557.  
  1558. # Add a newline before ')' if an if/for/while/switch condition spans multiple
  1559. # lines. Overrides nl_before_if_closing_paren if both are specified.
  1560. nl_multi_line_sparen_close = ignore # ignore/add/remove/force
  1561.  
  1562. # Force a newline in a define after the macro name for multi-line defines.
  1563. nl_multi_line_define = false # true/false
  1564.  
  1565. # Whether to add a newline before 'case', and a blank line before a 'case'
  1566. # statement that follows a ';' or '}'.
  1567. nl_before_case = false # true/false
  1568.  
  1569. # Whether to add a newline after a 'case' statement.
  1570. nl_after_case = false # true/false
  1571.  
  1572. # Add or remove newline between a case ':' and '{'.
  1573. #
  1574. # Overrides nl_after_case.
  1575. nl_case_colon_brace = ignore # ignore/add/remove/force
  1576.  
  1577. # Add or remove newline between ')' and 'throw'.
  1578. nl_before_throw = ignore # ignore/add/remove/force
  1579.  
  1580. # Add or remove newline between 'namespace' and '{'.
  1581. nl_namespace_brace = remove # ignore/add/remove/force
  1582.  
  1583. # Add or remove newline between 'template<>' and whatever follows.
  1584. nl_template_class = ignore # ignore/add/remove/force
  1585.  
  1586. # Add or remove newline after 'template<...>' of a template class declaration.
  1587. #
  1588. # Overrides nl_template_class.
  1589. nl_template_class_decl = ignore # ignore/add/remove/force
  1590.  
  1591. # Add or remove newline after 'template<>' of a specialized class declaration.
  1592. #
  1593. # Overrides nl_template_class_decl.
  1594. nl_template_class_decl_special = ignore # ignore/add/remove/force
  1595.  
  1596. # Add or remove newline after 'template<...>' of a template class definition.
  1597. #
  1598. # Overrides nl_template_class.
  1599. nl_template_class_def = ignore # ignore/add/remove/force
  1600.  
  1601. # Add or remove newline after 'template<>' of a specialized class definition.
  1602. #
  1603. # Overrides nl_template_class_def.
  1604. nl_template_class_def_special = ignore # ignore/add/remove/force
  1605.  
  1606. # Add or remove newline after 'template<...>' of a template function.
  1607. nl_template_func = ignore # ignore/add/remove/force
  1608.  
  1609. # Add or remove newline after 'template<...>' of a template function
  1610. # declaration.
  1611. #
  1612. # Overrides nl_template_func.
  1613. nl_template_func_decl = ignore # ignore/add/remove/force
  1614.  
  1615. # Add or remove newline after 'template<>' of a specialized function
  1616. # declaration.
  1617. #
  1618. # Overrides nl_template_func_decl.
  1619. nl_template_func_decl_special = ignore # ignore/add/remove/force
  1620.  
  1621. # Add or remove newline after 'template<...>' of a template function
  1622. # definition.
  1623. #
  1624. # Overrides nl_template_func.
  1625. nl_template_func_def = ignore # ignore/add/remove/force
  1626.  
  1627. # Add or remove newline after 'template<>' of a specialized function
  1628. # definition.
  1629. #
  1630. # Overrides nl_template_func_def.
  1631. nl_template_func_def_special = ignore # ignore/add/remove/force
  1632.  
  1633. # Add or remove newline after 'template<...>' of a template variable.
  1634. nl_template_var = ignore # ignore/add/remove/force
  1635.  
  1636. # Add or remove newline between 'template<...>' and 'using' of a templated
  1637. # type alias.
  1638. nl_template_using = ignore # ignore/add/remove/force
  1639.  
  1640. # Add or remove newline between 'class' and '{'.
  1641. nl_class_brace = remove # ignore/add/remove/force
  1642.  
  1643. # Add or remove newline before or after (depending on pos_class_comma) each
  1644. # ',' in the base class list.
  1645. nl_class_init_args = ignore # ignore/add/remove/force
  1646.  
  1647. # Add or remove newline after each ',' in the constructor member
  1648. # initialization. Related to nl_constr_colon, pos_constr_colon and
  1649. # pos_constr_comma.
  1650. nl_constr_init_args = ignore # ignore/add/remove/force
  1651.  
  1652. # Add or remove newline before first element, after comma, and after last
  1653. # element, in 'enum'.
  1654. nl_enum_own_lines = ignore # ignore/add/remove/force
  1655.  
  1656. # Add or remove newline between return type and function name in a function
  1657. # definition.
  1658. nl_func_type_name = ignore # ignore/add/remove/force
  1659.  
  1660. # Add or remove newline between return type and function name inside a class
  1661. # definition. If set to ignore, nl_func_type_name or nl_func_proto_type_name
  1662. # is used instead.
  1663. nl_func_type_name_class = ignore # ignore/add/remove/force
  1664.  
  1665. # Add or remove newline between class specification and '::'
  1666. # in 'void A::f() { }'. Only appears in separate member implementation (does
  1667. # not appear with in-line implementation).
  1668. nl_func_class_scope = ignore # ignore/add/remove/force
  1669.  
  1670. # Add or remove newline between function scope and name, as in
  1671. # 'void A :: <here> f() { }'.
  1672. nl_func_scope_name = ignore # ignore/add/remove/force
  1673.  
  1674. # Add or remove newline between return type and function name in a prototype.
  1675. nl_func_proto_type_name = ignore # ignore/add/remove/force
  1676.  
  1677. # Add or remove newline between a function name and the opening '(' in the
  1678. # declaration.
  1679. nl_func_paren = ignore # ignore/add/remove/force
  1680.  
  1681. # Overrides nl_func_paren for functions with no parameters.
  1682. nl_func_paren_empty = ignore # ignore/add/remove/force
  1683.  
  1684. # Add or remove newline between a function name and the opening '(' in the
  1685. # definition.
  1686. nl_func_def_paren = ignore # ignore/add/remove/force
  1687.  
  1688. # Overrides nl_func_def_paren for functions with no parameters.
  1689. nl_func_def_paren_empty = ignore # ignore/add/remove/force
  1690.  
  1691. # Add or remove newline between a function name and the opening '(' in the
  1692. # call.
  1693. nl_func_call_paren = remove # ignore/add/remove/force
  1694.  
  1695. # Overrides nl_func_call_paren for functions with no parameters.
  1696. nl_func_call_paren_empty = ignore # ignore/add/remove/force
  1697.  
  1698. # Add or remove newline after '(' in a function declaration.
  1699. nl_func_decl_start = remove # ignore/add/remove/force
  1700.  
  1701. # Add or remove newline after '(' in a function definition.
  1702. nl_func_def_start = remove # ignore/add/remove/force
  1703.  
  1704. # Overrides nl_func_decl_start when there is only one parameter.
  1705. nl_func_decl_start_single = ignore # ignore/add/remove/force
  1706.  
  1707. # Overrides nl_func_def_start when there is only one parameter.
  1708. nl_func_def_start_single = ignore # ignore/add/remove/force
  1709.  
  1710. # Whether to add a newline after '(' in a function declaration if '(' and ')'
  1711. # are in different lines. If false, nl_func_decl_start is used instead.
  1712. nl_func_decl_start_multi_line = false # true/false
  1713.  
  1714. # Whether to add a newline after '(' in a function definition if '(' and ')'
  1715. # are in different lines. If false, nl_func_def_start is used instead.
  1716. nl_func_def_start_multi_line = false # true/false
  1717.  
  1718. # Add or remove newline after each ',' in a function declaration.
  1719. nl_func_decl_args = ignore # ignore/add/remove/force
  1720.  
  1721. # Add or remove newline after each ',' in a function definition.
  1722. nl_func_def_args = ignore # ignore/add/remove/force
  1723.  
  1724. # Whether to add a newline after each ',' in a function declaration if '('
  1725. # and ')' are in different lines. If false, nl_func_decl_args is used instead.
  1726. nl_func_decl_args_multi_line = false # true/false
  1727.  
  1728. # Whether to add a newline after each ',' in a function definition if '('
  1729. # and ')' are in different lines. If false, nl_func_def_args is used instead.
  1730. nl_func_def_args_multi_line = false # true/false
  1731.  
  1732. # Add or remove newline before the ')' in a function declaration.
  1733. nl_func_decl_end = ignore # ignore/add/remove/force
  1734.  
  1735. # Add or remove newline before the ')' in a function definition.
  1736. nl_func_def_end = ignore # ignore/add/remove/force
  1737.  
  1738. # Overrides nl_func_decl_end when there is only one parameter.
  1739. nl_func_decl_end_single = ignore # ignore/add/remove/force
  1740.  
  1741. # Overrides nl_func_def_end when there is only one parameter.
  1742. nl_func_def_end_single = ignore # ignore/add/remove/force
  1743.  
  1744. # Whether to add a newline before ')' in a function declaration if '(' and ')'
  1745. # are in different lines. If false, nl_func_decl_end is used instead.
  1746. nl_func_decl_end_multi_line = false # true/false
  1747.  
  1748. # Whether to add a newline before ')' in a function definition if '(' and ')'
  1749. # are in different lines. If false, nl_func_def_end is used instead.
  1750. nl_func_def_end_multi_line = false # true/false
  1751.  
  1752. # Add or remove newline between '()' in a function declaration.
  1753. nl_func_decl_empty = remove # ignore/add/remove/force
  1754.  
  1755. # Add or remove newline between '()' in a function definition.
  1756. nl_func_def_empty = remove # ignore/add/remove/force
  1757.  
  1758. # Add or remove newline between '()' in a function call.
  1759. nl_func_call_empty = remove # ignore/add/remove/force
  1760.  
  1761. # Whether to add a newline after '(' in a function call,
  1762. # has preference over nl_func_call_start_multi_line.
  1763. nl_func_call_start = ignore # ignore/add/remove/force
  1764.  
  1765. # Whether to add a newline after '(' in a function call if '(' and ')' are in
  1766. # different lines.
  1767. nl_func_call_start_multi_line = false # true/false
  1768.  
  1769. # Whether to add a newline after each ',' in a function call if '(' and ')'
  1770. # are in different lines.
  1771. nl_func_call_args_multi_line = false # true/false
  1772.  
  1773. # Whether to add a newline before ')' in a function call if '(' and ')' are in
  1774. # different lines.
  1775. nl_func_call_end_multi_line = false # true/false
  1776.  
  1777. # Whether to add a newline after '<' of a template parameter list.
  1778. nl_template_start = false # true/false
  1779.  
  1780. # Whether to add a newline after each ',' in a template parameter list.
  1781. nl_template_args = false # true/false
  1782.  
  1783. # Whether to add a newline before '>' of a template parameter list.
  1784. nl_template_end = false # true/false
  1785.  
  1786. # (OC) Whether to put each Objective-C message parameter on a separate line.
  1787. # See nl_oc_msg_leave_one_liner.
  1788. nl_oc_msg_args = false # true/false
  1789.  
  1790. # Add or remove newline between function signature and '{'.
  1791. nl_fdef_brace = remove # ignore/add/remove/force
  1792.  
  1793. # Add or remove newline between function signature and '{',
  1794. # if signature ends with ')'. Overrides nl_fdef_brace.
  1795. nl_fdef_brace_cond = ignore # ignore/add/remove/force
  1796.  
  1797. # Add or remove newline between C++11 lambda signature and '{'.
  1798. nl_cpp_ldef_brace = remove # ignore/add/remove/force
  1799.  
  1800. # Add or remove newline between 'return' and the return expression.
  1801. nl_return_expr = remove # ignore/add/remove/force
  1802.  
  1803. # Whether to add a newline after semicolons, except in 'for' statements.
  1804. nl_after_semicolon = false # true/false
  1805.  
  1806. # (Java) Add or remove newline between the ')' and '{{' of the double brace
  1807. # initializer.
  1808. nl_paren_dbrace_open = ignore # ignore/add/remove/force
  1809.  
  1810. # Whether to add a newline after the type in an unnamed temporary
  1811. # direct-list-initialization.
  1812. nl_type_brace_init_lst = ignore # ignore/add/remove/force
  1813.  
  1814. # Whether to add a newline after the open brace in an unnamed temporary
  1815. # direct-list-initialization.
  1816. nl_type_brace_init_lst_open = ignore # ignore/add/remove/force
  1817.  
  1818. # Whether to add a newline before the close brace in an unnamed temporary
  1819. # direct-list-initialization.
  1820. nl_type_brace_init_lst_close = ignore # ignore/add/remove/force
  1821.  
  1822. # Whether to add a newline after '{'. This also adds a newline before the
  1823. # matching '}'.
  1824. nl_after_brace_open = false # true/false
  1825.  
  1826. # Whether to add a newline between the open brace and a trailing single-line
  1827. # comment. Requires nl_after_brace_open=true.
  1828. nl_after_brace_open_cmt = false # true/false
  1829.  
  1830. # Whether to add a newline after a virtual brace open with a non-empty body.
  1831. # These occur in un-braced if/while/do/for statement bodies.
  1832. nl_after_vbrace_open = false # true/false
  1833.  
  1834. # Whether to add a newline after a virtual brace open with an empty body.
  1835. # These occur in un-braced if/while/do/for statement bodies.
  1836. nl_after_vbrace_open_empty = false # true/false
  1837.  
  1838. # Whether to add a newline after '}'. Does not apply if followed by a
  1839. # necessary ';'.
  1840. nl_after_brace_close = false # true/false
  1841.  
  1842. # Whether to add a newline after a virtual brace close,
  1843. # as in 'if (foo) a++; <here> return;'.
  1844. nl_after_vbrace_close = false # true/false
  1845.  
  1846. # Add or remove newline between the close brace and identifier,
  1847. # as in 'struct { int a; } <here> b;'. Affects enumerations, unions and
  1848. # structures. If set to ignore, uses nl_after_brace_close.
  1849. nl_brace_struct_var = ignore # ignore/add/remove/force
  1850.  
  1851. # Whether to alter newlines in '#define' macros.
  1852. nl_define_macro = false # true/false
  1853.  
  1854. # Whether to alter newlines between consecutive parenthesis closes. The number
  1855. # of closing parentheses in a line will depend on respective open parenthesis
  1856. # lines.
  1857. nl_squeeze_paren_close = false # true/false
  1858.  
  1859. # Whether to remove blanks after '#ifxx' and '#elxx', or before '#elxx' and
  1860. # '#endif'. Does not affect top-level #ifdefs.
  1861. nl_squeeze_ifdef = false # true/false
  1862.  
  1863. # Makes the nl_squeeze_ifdef option affect the top-level #ifdefs as well.
  1864. nl_squeeze_ifdef_top_level = false # true/false
  1865.  
  1866. # Add or remove blank line before 'if'.
  1867. nl_before_if = add # ignore/add/remove/force
  1868.  
  1869. # Add or remove blank line after 'if' statement. Add/Force work only if the
  1870. # next token is not a closing brace.
  1871. nl_after_if = add # ignore/add/remove/force
  1872.  
  1873. # Add or remove blank line before 'for'.
  1874. nl_before_for = add # ignore/add/remove/force
  1875.  
  1876. # Add or remove blank line after 'for' statement.
  1877. nl_after_for = add # ignore/add/remove/force
  1878.  
  1879. # Add or remove blank line before 'while'.
  1880. nl_before_while = add # ignore/add/remove/force
  1881.  
  1882. # Add or remove blank line after 'while' statement.
  1883. nl_after_while = add # ignore/add/remove/force
  1884.  
  1885. # Add or remove blank line before 'switch'.
  1886. nl_before_switch = add # ignore/add/remove/force
  1887.  
  1888. # Add or remove blank line after 'switch' statement.
  1889. nl_after_switch = add # ignore/add/remove/force
  1890.  
  1891. # Add or remove blank line before 'synchronized'.
  1892. nl_before_synchronized = ignore # ignore/add/remove/force
  1893.  
  1894. # Add or remove blank line after 'synchronized' statement.
  1895. nl_after_synchronized = ignore # ignore/add/remove/force
  1896.  
  1897. # Add or remove blank line before 'do'.
  1898. nl_before_do = add # ignore/add/remove/force
  1899.  
  1900. # Add or remove blank line after 'do/while' statement.
  1901. nl_after_do = add # ignore/add/remove/force
  1902.  
  1903. # Whether to double-space commented-entries in 'struct'/'union'/'enum'.
  1904. nl_ds_struct_enum_cmt = false # true/false
  1905.  
  1906. # Whether to force a newline before '}' of a 'struct'/'union'/'enum'.
  1907. # (Lower priority than eat_blanks_before_close_brace.)
  1908. nl_ds_struct_enum_close_brace = false # true/false
  1909.  
  1910. # Add or remove newline before or after (depending on pos_class_colon) a class
  1911. # colon, as in 'class Foo <here> : <or here> public Bar'.
  1912. nl_class_colon = ignore # ignore/add/remove/force
  1913.  
  1914. # Add or remove newline around a class constructor colon. The exact position
  1915. # depends on nl_constr_init_args, pos_constr_colon and pos_constr_comma.
  1916. nl_constr_colon = ignore # ignore/add/remove/force
  1917.  
  1918. # Whether to collapse a two-line namespace, like 'namespace foo\n{ decl; }'
  1919. # into a single line. If true, prevents other brace newline rules from turning
  1920. # such code into four lines.
  1921. nl_namespace_two_to_one_liner = false # true/false
  1922.  
  1923. # Whether to remove a newline in simple unbraced if statements, turning them
  1924. # into one-liners, as in 'if(b)\n i++;' → 'if(b) i++;'.
  1925. nl_create_if_one_liner = false # true/false
  1926.  
  1927. # Whether to remove a newline in simple unbraced for statements, turning them
  1928. # into one-liners, as in 'for (...)\n stmt;' → 'for (...) stmt;'.
  1929. nl_create_for_one_liner = false # true/false
  1930.  
  1931. # Whether to remove a newline in simple unbraced while statements, turning
  1932. # them into one-liners, as in 'while (expr)\n stmt;' → 'while (expr) stmt;'.
  1933. nl_create_while_one_liner = false # true/false
  1934.  
  1935. # Whether to collapse a function definition whose body (not counting braces)
  1936. # is only one line so that the entire definition (prototype, braces, body) is
  1937. # a single line.
  1938. nl_create_func_def_one_liner = false # true/false
  1939.  
  1940. # Whether to collapse a function definition whose body (not counting braces)
  1941. # is only one line so that the entire definition (prototype, braces, body) is
  1942. # a single line.
  1943. nl_create_list_one_liner = false # true/false
  1944.  
  1945. # Whether to split one-line simple unbraced if statements into two lines by
  1946. # adding a newline, as in 'if(b) <here> i++;'.
  1947. nl_split_if_one_liner = false # true/false
  1948.  
  1949. # Whether to split one-line simple unbraced for statements into two lines by
  1950. # adding a newline, as in 'for (...) <here> stmt;'.
  1951. nl_split_for_one_liner = false # true/false
  1952.  
  1953. # Whether to split one-line simple unbraced while statements into two lines by
  1954. # adding a newline, as in 'while (expr) <here> stmt;'.
  1955. nl_split_while_one_liner = false # true/false
  1956.  
  1957. #
  1958. # Blank line options
  1959. #
  1960.  
  1961. # The maximum number of consecutive newlines (3 = 2 blank lines).
  1962. nl_max = 0 # unsigned number
  1963.  
  1964. # The maximum number of consecutive newlines in a function.
  1965. nl_max_blank_in_func = 2 # unsigned number
  1966.  
  1967. # The number of newlines before a function prototype.
  1968. nl_before_func_body_proto = 0 # unsigned number
  1969.  
  1970. # The number of newlines before a multi-line function definition.
  1971. nl_before_func_body_def = 0 # unsigned number
  1972.  
  1973. # The number of newlines before a class constructor/destructor prototype.
  1974. nl_before_func_class_proto = 0 # unsigned number
  1975.  
  1976. # The number of newlines before a class constructor/destructor definition.
  1977. nl_before_func_class_def = 0 # unsigned number
  1978.  
  1979. # The number of newlines after a function prototype.
  1980. nl_after_func_proto = 0 # unsigned number
  1981.  
  1982. # The number of newlines after a function prototype, if not followed by
  1983. # another function prototype.
  1984. nl_after_func_proto_group = 0 # unsigned number
  1985.  
  1986. # The number of newlines after a class constructor/destructor prototype.
  1987. nl_after_func_class_proto = 0 # unsigned number
  1988.  
  1989. # The number of newlines after a class constructor/destructor prototype,
  1990. # if not followed by another constructor/destructor prototype.
  1991. nl_after_func_class_proto_group = 0 # unsigned number
  1992.  
  1993. # Whether one-line method definitions inside a class body should be treated
  1994. # as if they were prototypes for the purposes of adding newlines.
  1995. #
  1996. # Requires nl_class_leave_one_liners=true. Overrides nl_before_func_body_def
  1997. # and nl_before_func_class_def for one-liners.
  1998. nl_class_leave_one_liner_groups = false # true/false
  1999.  
  2000. # The number of newlines after '}' of a multi-line function body.
  2001. nl_after_func_body = 0 # unsigned number
  2002.  
  2003. # The number of newlines after '}' of a multi-line function body in a class
  2004. # declaration. Also affects class constructors/destructors.
  2005. #
  2006. # Overrides nl_after_func_body.
  2007. nl_after_func_body_class = 0 # unsigned number
  2008.  
  2009. # The number of newlines after '}' of a single line function body. Also
  2010. # affects class constructors/destructors.
  2011. #
  2012. # Overrides nl_after_func_body and nl_after_func_body_class.
  2013. nl_after_func_body_one_liner = 0 # unsigned number
  2014.  
  2015. # The number of blank lines after a block of variable definitions at the top
  2016. # of a function body.
  2017. #
  2018. # 0: No change (default).
  2019. nl_func_var_def_blk = 1 # unsigned number
  2020.  
  2021. # The number of newlines before a block of typedefs. If nl_after_access_spec
  2022. # is non-zero, that option takes precedence.
  2023. #
  2024. # 0: No change (default).
  2025. nl_typedef_blk_start = 0 # unsigned number
  2026.  
  2027. # The number of newlines after a block of typedefs.
  2028. #
  2029. # 0: No change (default).
  2030. nl_typedef_blk_end = 0 # unsigned number
  2031.  
  2032. # The maximum number of consecutive newlines within a block of typedefs.
  2033. #
  2034. # 0: No change (default).
  2035. nl_typedef_blk_in = 0 # unsigned number
  2036.  
  2037. # The number of newlines before a block of variable definitions not at the top
  2038. # of a function body. If nl_after_access_spec is non-zero, that option takes
  2039. # precedence.
  2040. #
  2041. # 0: No change (default).
  2042. nl_var_def_blk_start = 0 # unsigned number
  2043.  
  2044. # The number of newlines after a block of variable definitions not at the top
  2045. # of a function body.
  2046. #
  2047. # 0: No change (default).
  2048. nl_var_def_blk_end = 0 # unsigned number
  2049.  
  2050. # The maximum number of consecutive newlines within a block of variable
  2051. # definitions.
  2052. #
  2053. # 0: No change (default).
  2054. nl_var_def_blk_in = 0 # unsigned number
  2055.  
  2056. # The minimum number of newlines before a multi-line comment.
  2057. # Doesn't apply if after a brace open or another multi-line comment.
  2058. nl_before_block_comment = 0 # unsigned number
  2059.  
  2060. # The minimum number of newlines before a single-line C comment.
  2061. # Doesn't apply if after a brace open or other single-line C comments.
  2062. nl_before_c_comment = 0 # unsigned number
  2063.  
  2064. # The minimum number of newlines before a CPP comment.
  2065. # Doesn't apply if after a brace open or other CPP comments.
  2066. nl_before_cpp_comment = 0 # unsigned number
  2067.  
  2068. # Whether to force a newline after a multi-line comment.
  2069. nl_after_multiline_comment = false # true/false
  2070.  
  2071. # Whether to force a newline after a label's colon.
  2072. nl_after_label_colon = false # true/false
  2073.  
  2074. # The number of newlines after '}' or ';' of a struct/enum/union definition.
  2075. nl_after_struct = 0 # unsigned number
  2076.  
  2077. # The number of newlines before a class definition.
  2078. nl_before_class = 0 # unsigned number
  2079.  
  2080. # The number of newlines after '}' or ';' of a class definition.
  2081. nl_after_class = 0 # unsigned number
  2082.  
  2083. # The number of newlines before a namespace.
  2084. nl_before_namespace = 0 # unsigned number
  2085.  
  2086. # The number of newlines after '{' of a namespace. This also adds newlines
  2087. # before the matching '}'.
  2088. #
  2089. # 0: Apply eat_blanks_after_open_brace or eat_blanks_before_close_brace if
  2090. # applicable, otherwise no change.
  2091. #
  2092. # Overrides eat_blanks_after_open_brace and eat_blanks_before_close_brace.
  2093. nl_inside_namespace = 0 # unsigned number
  2094.  
  2095. # The number of newlines after '}' of a namespace.
  2096. nl_after_namespace = 0 # unsigned number
  2097.  
  2098. # The number of newlines before an access specifier label. This also includes
  2099. # the Qt-specific 'signals:' and 'slots:'. Will not change the newline count
  2100. # if after a brace open.
  2101. #
  2102. # 0 = No change (default).
  2103. nl_before_access_spec = 0 # unsigned number
  2104.  
  2105. # The number of newlines after an access specifier label. This also includes
  2106. # the Qt-specific 'signals:' and 'slots:'. Will not change the newline count
  2107. # if after a brace open.
  2108. #
  2109. # 0 = No change (default).
  2110. #
  2111. # Overrides nl_typedef_blk_start and nl_var_def_blk_start.
  2112. nl_after_access_spec = 0 # unsigned number
  2113.  
  2114. # The number of newlines between a function definition and the function
  2115. # comment, as in '// comment\n <here> void foo() {...}'.
  2116. #
  2117. # 0 = No change (default).
  2118. nl_comment_func_def = 0 # unsigned number
  2119.  
  2120. # The number of newlines after a try-catch-finally block that isn't followed
  2121. # by a brace close.
  2122. #
  2123. # 0 = No change (default).
  2124. nl_after_try_catch_finally = 0 # unsigned number
  2125.  
  2126. # (C#) The number of newlines before and after a property, indexer or event
  2127. # declaration.
  2128. #
  2129. # 0 = No change (default).
  2130. nl_around_cs_property = 0 # unsigned number
  2131.  
  2132. # (C#) The number of newlines between the get/set/add/remove handlers.
  2133. #
  2134. # 0 = No change (default).
  2135. nl_between_get_set = 0 # unsigned number
  2136.  
  2137. # (C#) Add or remove newline between property and the '{'.
  2138. nl_property_brace = ignore # ignore/add/remove/force
  2139.  
  2140. # The number of newlines after '{' of a namespace. This also adds newlines
  2141. # before the matching '}'.
  2142. #
  2143. # 0 = Apply eat_blanks_after_open_brace or eat_blanks_before_close_brace if
  2144. # applicable, otherwise no change.
  2145. #
  2146. # Overrides eat_blanks_after_open_brace and eat_blanks_before_close_brace.
  2147. nl_inside_namespace = 0 # unsigned number
  2148.  
  2149. # Whether to remove blank lines after '{'.
  2150. eat_blanks_after_open_brace = false # true/false
  2151.  
  2152. # Whether to remove blank lines before '}'.
  2153. eat_blanks_before_close_brace = false # true/false
  2154.  
  2155. # How aggressively to remove extra newlines not in preprocessor.
  2156. #
  2157. # 0: No change (default)
  2158. # 1: Remove most newlines not handled by other config
  2159. # 2: Remove all newlines and reformat completely by config
  2160. nl_remove_extra_newlines = 0 # unsigned number
  2161.  
  2162. # Whether to put a blank line before 'return' statements, unless after an open
  2163. # brace.
  2164. # NB: Tagore will want this setting!
  2165. nl_before_return = false # true/false
  2166.  
  2167. # Whether to put a blank line after 'return' statements, unless followed by a
  2168. # close brace.
  2169. nl_after_return = false # true/false
  2170.  
  2171. # (Java) Add or remove newline after an annotation statement. Only affects
  2172. # annotations that are after a newline.
  2173. nl_after_annotation = ignore # ignore/add/remove/force
  2174.  
  2175. # (Java) Add or remove newline between two annotations.
  2176. nl_between_annotation = ignore # ignore/add/remove/force
  2177.  
  2178. #
  2179. # Positioning options
  2180. #
  2181.  
  2182. # The position of arithmetic operators in wrapped expressions.
  2183. pos_arith = lead # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2184.  
  2185. # The position of assignment in wrapped expressions. Do not affect '='
  2186. # followed by '{'.
  2187. pos_assign = trail # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2188.  
  2189. # The position of Boolean operators in wrapped expressions.
  2190. pos_bool = lead # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2191.  
  2192. # The position of comparison operators in wrapped expressions.
  2193. pos_compare = lead # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2194.  
  2195. # The position of conditional operators, as in the '?' and ':' of
  2196. # 'expr ? stmt : stmt', in wrapped expressions.
  2197. pos_conditional = lead # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2198.  
  2199. # The position of the comma in wrapped expressions.
  2200. pos_comma = ignore # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2201.  
  2202. # The position of the comma in enum entries.
  2203. pos_enum_comma = trail # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2204.  
  2205. # The position of the comma in the base class list if there is more than one
  2206. # line. Affects nl_class_init_args.
  2207. pos_class_comma = ignore # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2208.  
  2209. # The position of the comma in the constructor initialization list.
  2210. # Related to nl_constr_colon, nl_constr_init_args and pos_constr_colon.
  2211. pos_constr_comma = ignore # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2212.  
  2213. # The position of trailing/leading class colon, between class and base class
  2214. # list. Affects nl_class_colon.
  2215. pos_class_colon = ignore # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2216.  
  2217. # The position of colons between constructor and member initialization.
  2218. # Related to nl_constr_colon, nl_constr_init_args and pos_constr_comma.
  2219. pos_constr_colon = ignore # ignore/break/force/lead/trail/join/lead_break/lead_force/trail_break/trail_force
  2220.  
  2221. #
  2222. # Line splitting options
  2223. #
  2224.  
  2225. # Try to limit code width to N columns.
  2226. code_width = 120 # unsigned number
  2227.  
  2228. # Whether to fully split long 'for' statements at semi-colons.
  2229. ls_for_split_full = false # true/false
  2230.  
  2231. # Whether to fully split long function prototypes/calls at commas.
  2232. # The option ls_code_width has priority over the option ls_func_split_full.
  2233. ls_func_split_full = false # true/false
  2234.  
  2235. # Whether to split lines as close to code_width as possible and ignore some
  2236. # groupings.
  2237. ls_code_width = false # true/false
  2238.  
  2239. #
  2240. # Code alignment options (not left column spaces/tabs)
  2241. #
  2242.  
  2243. # Whether to keep non-indenting tabs.
  2244. align_keep_tabs = false # true/false
  2245.  
  2246. # Whether to use tabs for aligning.
  2247. align_with_tabs = false # true/false
  2248.  
  2249. # Whether to bump out to the next tab when aligning.
  2250. align_on_tabstop = false # true/false
  2251.  
  2252. # Whether to right-align numbers.
  2253. align_number_right = false # true/false
  2254.  
  2255. # Whether to keep whitespace not required for alignment.
  2256. align_keep_extra_space = false # true/false
  2257.  
  2258. # Whether to align variable definitions in prototypes and functions.
  2259. align_func_params = false # true/false
  2260.  
  2261. # The span for aligning parameter definitions in function on parameter name.
  2262. #
  2263. # 0 = Don't align (default).
  2264. align_func_params_span = 0 # unsigned number
  2265.  
  2266. # The threshold for aligning function parameter definitions.
  2267. #
  2268. # 0 = No limit (default).
  2269. align_func_params_thresh = 0 # unsigned number
  2270.  
  2271. # The gap for aligning function parameter definitions.
  2272. align_func_params_gap = 0 # unsigned number
  2273.  
  2274. # The span for aligning constructor value.
  2275. #
  2276. # 0: Don't align (default).
  2277. align_constr_value_span = 0 # unsigned number
  2278.  
  2279. # The threshold for aligning constructor value.
  2280. # Use a negative number for absolute thresholds.
  2281. #
  2282. # 0: No limit (default).
  2283. align_constr_value_thresh = 0 # number
  2284.  
  2285. # The gap for aligning constructor value.
  2286. align_constr_value_gap = 0 # unsigned number
  2287.  
  2288. # Whether to align parameters in single-line functions that have the same
  2289. # name. The function names must already be aligned with each other.
  2290. align_same_func_call_params = false # true/false
  2291.  
  2292. # The span for aligning function-call parameters for single line functions.
  2293. #
  2294. # 0 = Don't align (default).
  2295. align_same_func_call_params_span = 0 # unsigned number
  2296.  
  2297. # The threshold for aligning function-call parameters for single line
  2298. # functions.
  2299. #
  2300. # 0 = No limit (default).
  2301. align_same_func_call_params_thresh = 0 # unsigned number
  2302.  
  2303. # The span for aligning variable definitions.
  2304. #
  2305. # 0 = Don't align (default).
  2306. align_var_def_span = 0 # unsigned number
  2307.  
  2308. # How to align the '*' in variable definitions.
  2309. #
  2310. # 0: Part of the type 'void * foo;' (default)
  2311. # 1: Part of the variable 'void *foo;'
  2312. # 2: Dangling 'void *foo;'
  2313. align_var_def_star_style = 1 # unsigned number
  2314.  
  2315. # How to align the '&' in variable definitions.
  2316. #
  2317. # 0: Part of the type 'long & foo;' (default)
  2318. # 1: Part of the variable 'long &foo;'
  2319. # 2: Dangling 'long &foo;'
  2320. align_var_def_amp_style = 1 # unsigned number
  2321.  
  2322. # The threshold for aligning variable definitions.
  2323. #
  2324. # 0 = No limit (default).
  2325. align_var_def_thresh = 0 # unsigned number
  2326.  
  2327. # The gap for aligning variable definitions.
  2328. align_var_def_gap = 0 # unsigned number
  2329.  
  2330. # Whether to align the colon in struct bit fields.
  2331. align_var_def_colon = false # true/false
  2332.  
  2333. # The gap for aligning the colon in struct bit fields.
  2334. align_var_def_colon_gap = 0 # unsigned number
  2335.  
  2336. # Whether to align any attribute after the variable name.
  2337. align_var_def_attribute = false # true/false
  2338.  
  2339. # Whether to align inline struct/enum/union variable definitions.
  2340. align_var_def_inline = false # true/false
  2341.  
  2342. # The span for aligning on '=' in assignments.
  2343. #
  2344. # 0 = Don't align (default).
  2345. align_assign_span = 0 # unsigned number
  2346.  
  2347. # The threshold for aligning on '=' in assignments.
  2348. #
  2349. # 0 = No limit (default).
  2350. align_assign_thresh = 0 # unsigned number
  2351.  
  2352. # How to apply align_assign_span to function declaration "assignments", i.e.
  2353. # 'virtual void foo() = 0' or '~foo() = {default|delete}'.
  2354. #
  2355. # 0: Align with other assignments (default)
  2356. # 1: Align with each other, ignoring regular assignments
  2357. # 2: Don't align
  2358. align_assign_decl_func = 0 # unsigned number
  2359.  
  2360. # The span for aligning on '=' in enums.
  2361. #
  2362. # 0 = Don't align (default).
  2363. align_enum_equ_span = 0 # unsigned number
  2364.  
  2365. # The threshold for aligning on '=' in enums.
  2366. #
  2367. # 0 = no limit (default).
  2368. align_enum_equ_thresh = 0 # unsigned number
  2369.  
  2370. # The span for aligning class member definitions.
  2371. #
  2372. # 0 = Don't align (default).
  2373. align_var_class_span = 0 # unsigned number
  2374.  
  2375. # The threshold for aligning class member definitions.
  2376. #
  2377. # 0 = No limit (default).
  2378. align_var_class_thresh = 0 # unsigned number
  2379.  
  2380. # The gap for aligning class member definitions.
  2381. align_var_class_gap = 0 # unsigned number
  2382.  
  2383. # The span for aligning struct/union member definitions.
  2384. #
  2385. # 0 = Don't align (default).
  2386. align_var_struct_span = 0 # unsigned number
  2387.  
  2388. # The threshold for aligning struct/union member definitions.
  2389. #
  2390. # 0 = No limit (default).
  2391. align_var_struct_thresh = 0 # unsigned number
  2392.  
  2393. # The gap for aligning struct/union member definitions.
  2394. align_var_struct_gap = 0 # unsigned number
  2395.  
  2396. # The span for aligning struct initializer values.
  2397. #
  2398. # 0 = Don't align (default).
  2399. align_struct_init_span = 0 # unsigned number
  2400.  
  2401. # The minimum space between the type and the synonym of a typedef.
  2402. align_typedef_gap = 0 # unsigned number
  2403.  
  2404. # The span for aligning single-line typedefs.
  2405. #
  2406. # 0 = Don't align (default).
  2407. align_typedef_span = 0 # unsigned number
  2408.  
  2409. # How to align typedef'd functions with other typedefs.
  2410. #
  2411. # 0: Don't mix them at all (default)
  2412. # 1: Align the open parenthesis with the types
  2413. # 2: Align the function type name with the other type names
  2414. align_typedef_func = 0 # unsigned number
  2415.  
  2416. # How to consider (or treat) the '*' in the alignment of typedefs.
  2417. #
  2418. # 0: Part of the typedef type, 'typedef int * pint;' (default)
  2419. # 1: Part of type name: 'typedef int *pint;'
  2420. # 2: Dangling: 'typedef int *pint;'
  2421. # Dangling: the '*' will not be taken into account when aligning.
  2422. align_typedef_star_style = 0 # unsigned number
  2423.  
  2424. # How to align the '&' in typedefs.
  2425. #
  2426. # 0: Align on typedef type, ignore '&' (default)
  2427. # 1: The '&' is part of type name: 'typedef int &pint;'
  2428. # 2: The '&' is part of the type, but dangling: 'typedef int &pint;'
  2429. align_typedef_amp_style = 0 # unsigned number
  2430.  
  2431. # The span for aligning comments that end lines.
  2432. #
  2433. # 0 = Don't align (default).
  2434. align_right_cmt_span = 0 # unsigned number
  2435.  
  2436. # Minimum number of columns between preceding text and a trailing comment in
  2437. # order for the comment to qualify for being aligned. Must be non-zero to have
  2438. # an effect.
  2439. align_right_cmt_gap = 0 # unsigned number
  2440.  
  2441. # If aligning comments, whether to mix with comments after '}' and #endif with
  2442. # less than three spaces before the comment.
  2443. align_right_cmt_mix = false # true/false
  2444.  
  2445. # Whether to only align trailing comments that are at the same brace level.
  2446. align_right_cmt_same_level = false # true/false
  2447.  
  2448. # Minimum number of columns between preceding text and a trailing comment in
  2449. # order for the comment to qualify for being aligned. Must be non-zero to have
  2450. # an effect.
  2451. align_right_cmt_gap = 0 # unsigned number
  2452.  
  2453. # Minimum column at which to align trailing comments. Comments which are
  2454. # aligned beyond this column, but which can be aligned in a lesser column,
  2455. # may be "pulled in".
  2456. #
  2457. # 0 = Ignore (default).
  2458. align_right_cmt_at_col = 0 # unsigned number
  2459.  
  2460. # The span for aligning function prototypes.
  2461. #
  2462. # 0 = Don't align (default).
  2463. align_func_proto_span = 0 # unsigned number
  2464.  
  2465. # The threshold for aligning function prototypes.
  2466. # Use a negative number for absolute thresholds.
  2467. #
  2468. # 0: No limit (default).
  2469. align_func_proto_thresh = 0 # number
  2470.  
  2471. # Minimum gap between the return type and the function name.
  2472. align_func_proto_gap = 0 # unsigned number
  2473.  
  2474. # Whether to align function prototypes on the 'operator' keyword instead of
  2475. # what follows.
  2476. align_on_operator = false # true/false
  2477.  
  2478. # Whether to mix aligning prototype and variable declarations. If true,
  2479. # align_var_def_XXX options are used instead of align_func_proto_XXX options.
  2480. align_mix_var_proto = false # true/false
  2481.  
  2482. # Whether to align single-line functions with function prototypes.
  2483. # Uses align_func_proto_span.
  2484. align_single_line_func = false # true/false
  2485.  
  2486. # Whether to align the open brace of single-line functions.
  2487. # Requires align_single_line_func=true. Uses align_func_proto_span.
  2488. align_single_line_brace = false # true/false
  2489.  
  2490. # Gap for align_single_line_brace.
  2491. align_single_line_brace_gap = 0 # unsigned number
  2492.  
  2493. # (OC) The span for aligning Objective-C message specifications.
  2494. #
  2495. # 0 = Don't align (default).
  2496. align_oc_msg_spec_span = 0 # unsigned number
  2497.  
  2498. # Whether to align macros wrapped with a backslash and a newline. This will
  2499. # not work right if the macro contains a multi-line comment.
  2500. align_nl_cont = false # true/false
  2501.  
  2502. # Whether to align macro functions and variables together.
  2503. align_pp_define_together = false # true/false
  2504.  
  2505. # The minimum space between label and value of a preprocessor define.
  2506. align_pp_define_gap = 0 # unsigned number
  2507.  
  2508. # The span for aligning on '#define' bodies.
  2509. #
  2510. # =0: Don't align (default)
  2511. # >0: Number of lines (including comments) between blocks
  2512. align_pp_define_span = 0 # unsigned number
  2513.  
  2514. # Whether to align lines that start with '<<' with previous '<<'.
  2515. #
  2516. # Default: true
  2517. align_left_shift = true # true/false
  2518.  
  2519. # Whether to align text after 'asm volatile ()' colons.
  2520. align_asm_colon = false # true/false
  2521.  
  2522. # (OC) Span for aligning parameters in an Objective-C message call
  2523. # on the ':'.
  2524. #
  2525. # 0 = Don't align.
  2526. align_oc_msg_colon_span = 0 # unsigned number
  2527.  
  2528. # (OC) Whether to always align with the first parameter, even if it is too
  2529. # short.
  2530. align_oc_msg_colon_first = false # true/false
  2531.  
  2532. # (OC) Whether to align parameters in an Objective-C '+' or '-' declaration
  2533. # on the ':'.
  2534. align_oc_decl_colon = false # true/false
  2535.  
  2536. #
  2537. # Comment modification options
  2538. #
  2539.  
  2540. # Try to wrap comments at N columns.
  2541. cmt_width = 120 # unsigned number
  2542.  
  2543. # How to reflow comments.
  2544. #
  2545. # 0: No reflowing (apart from the line wrapping due to cmt_width) (default)
  2546. # 1: No touching at all
  2547. # 2: Full reflow
  2548. cmt_reflow_mode = 0 # unsigned number
  2549.  
  2550. # Whether to convert all tabs to spaces in comments. If false, tabs in
  2551. # comments are left alone, unless used for indenting.
  2552. cmt_convert_tab_to_spaces = true # true/false
  2553.  
  2554. # Whether to apply changes to multi-line comments, including cmt_width,
  2555. # keyword substitution and leading chars.
  2556. #
  2557. # Default: true
  2558. cmt_indent_multi = true # true/false
  2559.  
  2560. # Whether to group c-comments that look like they are in a block.
  2561. cmt_c_group = false # true/false
  2562.  
  2563. # Whether to put an empty '/*' on the first line of the combined c-comment.
  2564. cmt_c_nl_start = false # true/false
  2565.  
  2566. # Whether to add a newline before the closing '*/' of the combined c-comment.
  2567. cmt_c_nl_end = false # true/false
  2568.  
  2569. # Whether to change cpp-comments into c-comments.
  2570. cmt_cpp_to_c = false # true/false
  2571.  
  2572. # Whether to group cpp-comments that look like they are in a block. Only
  2573. # meaningful if cmt_cpp_to_c=true.
  2574. cmt_cpp_group = false # true/false
  2575.  
  2576. # Whether to put an empty '/*' on the first line of the combined cpp-comment
  2577. # when converting to a c-comment.
  2578. #
  2579. # Requires cmt_cpp_to_c=true and cmt_cpp_group=true.
  2580. cmt_cpp_nl_start = false # true/false
  2581.  
  2582. # Whether to add a newline before the closing '*/' of the combined cpp-comment
  2583. # when converting to a c-comment.
  2584. #
  2585. # Requires cmt_cpp_to_c=true and cmt_cpp_group=true.
  2586. cmt_cpp_nl_end = false # true/false
  2587.  
  2588. # Whether to put a star on subsequent comment lines.
  2589. cmt_star_cont = false # true/false
  2590.  
  2591. # The number of spaces to insert at the start of subsequent comment lines.
  2592. cmt_sp_before_star_cont = 0 # unsigned number
  2593.  
  2594. # The number of spaces to insert after the star on subsequent comment lines.
  2595. cmt_sp_after_star_cont = 0 # unsigned number
  2596.  
  2597. # For multi-line comments with a '*' lead, remove leading spaces if the first
  2598. # and last lines of the comment are the same length.
  2599. #
  2600. # Default: true
  2601. cmt_multi_check_last = true # true/false
  2602.  
  2603. # For multi-line comments with a '*' lead, remove leading spaces if the first
  2604. # and last lines of the comment are the same length AND if the length is
  2605. # bigger as the first_len minimum.
  2606. #
  2607. # Default: 4
  2608. cmt_multi_first_len_minimum = 4 # unsigned number
  2609.  
  2610. # Path to a file that contains text to insert at the beginning of a file if
  2611. # the file doesn't start with a C/C++ comment. If the inserted text contains
  2612. # '$(filename)', that will be replaced with the current file's name.
  2613. cmt_insert_file_header = "" # string
  2614.  
  2615. # Path to a file that contains text to insert at the end of a file if the
  2616. # file doesn't end with a C/C++ comment. If the inserted text contains
  2617. # '$(filename)', that will be replaced with the current file's name.
  2618. cmt_insert_file_footer = "" # string
  2619.  
  2620. # Path to a file that contains text to insert before a function definition if
  2621. # the function isn't preceded by a C/C++ comment. If the inserted text
  2622. # contains '$(function)', '$(javaparam)' or '$(fclass)', these will be
  2623. # replaced with, respectively, the name of the function, the javadoc '@param'
  2624. # and '@return' stuff, or the name of the class to which the member function
  2625. # belongs.
  2626. cmt_insert_func_header = "" # string
  2627.  
  2628. # Path to a file that contains text to insert before a class if the class
  2629. # isn't preceded by a C/C++ comment. If the inserted text contains '$(class)',
  2630. # that will be replaced with the class name.
  2631. cmt_insert_class_header = "" # string
  2632.  
  2633. # Path to a file that contains text to insert before an Objective-C message
  2634. # specification, if the method isn't preceded by a C/C++ comment. If the
  2635. # inserted text contains '$(message)' or '$(javaparam)', these will be
  2636. # replaced with, respectively, the name of the function, or the javadoc
  2637. # '@param' and '@return' stuff.
  2638. cmt_insert_oc_msg_header = "" # string
  2639.  
  2640. # Whether a comment should be inserted if a preprocessor is encountered when
  2641. # stepping backwards from a function name.
  2642. #
  2643. # Applies to cmt_insert_oc_msg_header, cmt_insert_func_header and
  2644. # cmt_insert_class_header.
  2645. cmt_insert_before_preproc = false # true/false
  2646.  
  2647. # Whether a comment should be inserted if a function is declared inline to a
  2648. # class definition.
  2649. #
  2650. # Applies to cmt_insert_func_header.
  2651. #
  2652. # Default: true
  2653. cmt_insert_before_inlines = true # true/false
  2654.  
  2655. # Whether a comment should be inserted if the function is a class constructor
  2656. # or destructor.
  2657. #
  2658. # Applies to cmt_insert_func_header.
  2659. cmt_insert_before_ctor_dtor = false # true/false
  2660.  
  2661. #
  2662. # Code modifying options (non-whitespace)
  2663. #
  2664.  
  2665. # Add or remove braces on a single-line 'do' statement.
  2666. mod_full_brace_do = add # ignore/add/remove/force
  2667.  
  2668. # Add or remove braces on a single-line 'for' statement.
  2669. mod_full_brace_for = add # ignore/add/remove/force
  2670.  
  2671. # (Pawn) Add or remove braces on a single-line function definition.
  2672. mod_full_brace_function = add # ignore/add/remove/force
  2673.  
  2674. # Add or remove braces on a single-line 'if' statement. Braces will not be
  2675. # removed if the braced statement contains an 'else'.
  2676. mod_full_brace_if = add # ignore/add/remove/force
  2677.  
  2678. # Whether to enforce that all blocks of an 'if'/'else if'/'else' chain either
  2679. # have, or do not have, braces. If true, braces will be added if any block
  2680. # needs braces, and will only be removed if they can be removed from all
  2681. # blocks.
  2682. #
  2683. # Overrides mod_full_brace_if.
  2684. mod_full_brace_if_chain = false # true/false
  2685.  
  2686. # Whether to add braces to all blocks of an 'if'/'else if'/'else' chain.
  2687. # If true, mod_full_brace_if_chain will only remove braces from an 'if' that
  2688. # does not have an 'else if' or 'else'.
  2689. mod_full_brace_if_chain_only = false # true/false
  2690.  
  2691. # Add or remove braces on single-line 'while' statement.
  2692. mod_full_brace_while = ignore # ignore/add/remove/force
  2693.  
  2694. # Add or remove braces on single-line 'using ()' statement.
  2695. mod_full_brace_using = ignore # ignore/add/remove/force
  2696.  
  2697. # Don't remove braces around statements that span N newlines
  2698. mod_full_brace_nl = 0 # unsigned number
  2699.  
  2700. # Whether to prevent removal of braces from 'if'/'for'/'while'/etc. blocks
  2701. # which span multiple lines.
  2702. #
  2703. # Affects:
  2704. # mod_full_brace_for
  2705. # mod_full_brace_if
  2706. # mod_full_brace_if_chain
  2707. # mod_full_brace_if_chain_only
  2708. # mod_full_brace_while
  2709. # mod_full_brace_using
  2710. #
  2711. # Does not affect:
  2712. # mod_full_brace_do
  2713. # mod_full_brace_function
  2714. mod_full_brace_nl_block_rem_mlcond = false # true/false
  2715.  
  2716. # Add or remove unnecessary parenthesis on 'return' statement.
  2717. mod_paren_on_return = ignore # ignore/add/remove/force
  2718.  
  2719. # (Pawn) Whether to change optional semicolons to real semicolons.
  2720. mod_pawn_semicolon = false # true/false
  2721.  
  2722. # Whether to fully parenthesize Boolean expressions in 'while' and 'if'
  2723. # statement, as in 'if (a && b > c)' → 'if (a && (b > c))'.
  2724. mod_full_paren_if_bool = false # true/false
  2725.  
  2726. # Whether to remove superfluous semicolons.
  2727. mod_remove_extra_semicolon = false # true/false
  2728.  
  2729. # If a function body exceeds the specified number of newlines and doesn't have
  2730. # a comment after the close brace, a comment will be added.
  2731. mod_add_long_function_closebrace_comment = 0 # unsigned number
  2732.  
  2733. # If a namespace body exceeds the specified number of newlines and doesn't
  2734. # have a comment after the close brace, a comment will be added.
  2735. mod_add_long_namespace_closebrace_comment = 0 # unsigned number
  2736.  
  2737. # If a class body exceeds the specified number of newlines and doesn't have a
  2738. # comment after the close brace, a comment will be added.
  2739. mod_add_long_class_closebrace_comment = 0 # unsigned number
  2740.  
  2741. # If a switch body exceeds the specified number of newlines and doesn't have a
  2742. # comment after the close brace, a comment will be added.
  2743. mod_add_long_switch_closebrace_comment = 0 # unsigned number
  2744.  
  2745. # If an #ifdef body exceeds the specified number of newlines and doesn't have
  2746. # a comment after the #endif, a comment will be added.
  2747. mod_add_long_ifdef_endif_comment = 0 # unsigned number
  2748.  
  2749. # If an #ifdef or #else body exceeds the specified number of newlines and
  2750. # doesn't have a comment after the #else, a comment will be added.
  2751. mod_add_long_ifdef_else_comment = 0 # unsigned number
  2752.  
  2753. # Whether to take care of the case by the mod_sort_xx options.
  2754. mod_sort_case_sensitive = false # true/false
  2755.  
  2756. # Whether to sort consecutive single-line 'import' statements.
  2757. mod_sort_import = false # true/false
  2758.  
  2759. # (C#) Whether to sort consecutive single-line 'using' statements.
  2760. mod_sort_using = false # true/false
  2761.  
  2762. # Whether to sort consecutive single-line '#include' statements (C/C++) and
  2763. # '#import' statements (Objective-C). Be aware that this has the potential to
  2764. # break your code if your includes/imports have ordering dependencies.
  2765. mod_sort_include = true # true/false
  2766.  
  2767. # Whether to move a 'break' that appears after a fully braced 'case' before
  2768. # the close brace, as in 'case X: { ... } break;' → 'case X: { ... break; }'.
  2769. mod_move_case_break = false # true/false
  2770.  
  2771. # Add or remove braces around a fully braced case statement. Will only remove
  2772. # braces if there are no variable declarations in the block.
  2773. mod_case_brace = ignore # ignore/add/remove/force
  2774.  
  2775. # Whether to remove a void 'return;' that appears as the last statement in a
  2776. # function.
  2777. mod_remove_empty_return = false # true/false
  2778.  
  2779. # Add or remove the comma after the last value of an enumeration.
  2780. mod_enum_last_comma = ignore # ignore/add/remove/force
  2781.  
  2782. # (OC) Whether to organize the properties. If true, properties will be
  2783. # rearranged according to the mod_sort_oc_property_*_weight factors.
  2784. mod_sort_oc_properties = false # true/false
  2785.  
  2786. # (OC) Weight of a class property modifier.
  2787. mod_sort_oc_property_class_weight = 0 # number
  2788.  
  2789. # (OC) Weight of 'atomic' and 'nonatomic'.
  2790. mod_sort_oc_property_thread_safe_weight = 0 # number
  2791.  
  2792. # (OC) Weight of 'readwrite' when organizing properties.
  2793. mod_sort_oc_property_readwrite_weight = 0 # number
  2794.  
  2795. # (OC) Weight of a reference type specifier ('retain', 'copy', 'assign',
  2796. # 'weak', 'strong') when organizing properties.
  2797. mod_sort_oc_property_reference_weight = 0 # number
  2798.  
  2799. # (OC) Weight of getter type ('getter=') when organizing properties.
  2800. mod_sort_oc_property_getter_weight = 0 # number
  2801.  
  2802. # (OC) Weight of setter type ('setter=') when organizing properties.
  2803. mod_sort_oc_property_setter_weight = 0 # number
  2804.  
  2805. # (OC) Weight of nullability type ('nullable', 'nonnull', 'null_unspecified',
  2806. # 'null_resettable') when organizing properties.
  2807. mod_sort_oc_property_nullability_weight = 0 # number
  2808.  
  2809. #
  2810. # Preprocessor options
  2811. #
  2812.  
  2813. # Add or remove indentation of preprocessor directives inside #if blocks
  2814. # at brace level 0 (file-level).
  2815. pp_indent = ignore # ignore/add/remove/force
  2816.  
  2817. # Whether to indent #if/#else/#endif at the brace level. If false, these are
  2818. # indented from column 1.
  2819. pp_indent_at_level = false # true/false
  2820.  
  2821. # Specifies the number of columns to indent preprocessors per level
  2822. # at brace level 0 (file-level). If pp_indent_at_level=false, also specifies
  2823. # the number of columns to indent preprocessors per level
  2824. # at brace level > 0 (function-level).
  2825. #
  2826. # Default: 1
  2827. pp_indent_count = 1 # unsigned number
  2828.  
  2829. # Add or remove space after # based on pp_level of #if blocks.
  2830. pp_space = ignore # ignore/add/remove/force
  2831.  
  2832. # Sets the number of spaces per level added with pp_space.
  2833. pp_space_count = 0 # unsigned number
  2834.  
  2835. # The indent for '#region' and '#endregion' in C# and '#pragma region' in
  2836. # C/C++. Negative values decrease indent down to the first column.
  2837. pp_indent_region = 0 # number
  2838.  
  2839. # Whether to indent the code between #region and #endregion.
  2840. pp_region_indent_code = false # true/false
  2841.  
  2842. # If pp_indent_at_level=true, sets the indent for #if, #else and #endif when
  2843. # not at file-level. Negative values decrease indent down to the first column.
  2844. #
  2845. # =0: Indent preprocessors using output_tab_size
  2846. # >0: Column at which all preprocessors will be indented
  2847. pp_indent_if = 0 # number
  2848.  
  2849. # Whether to indent the code between #if, #else and #endif.
  2850. pp_if_indent_code = false # true/false
  2851.  
  2852. # Whether to indent '#define' at the brace level. If false, these are
  2853. # indented from column 1.
  2854. pp_define_at_level = false # true/false
  2855.  
  2856. # Whether to ignore the '#define' body while formatting.
  2857. pp_ignore_define_body = false # true/false
  2858.  
  2859. # Whether to indent case statements between #if, #else, and #endif.
  2860. # Only applies to the indent of the preprocesser that the case statements
  2861. # directly inside of.
  2862. #
  2863. # Default: true
  2864. pp_indent_case = true # true/false
  2865.  
  2866. # Whether to indent whole function definitions between #if, #else, and #endif.
  2867. # Only applies to the indent of the preprocesser that the function definition
  2868. # is directly inside of.
  2869. #
  2870. # Default: true
  2871. pp_indent_func_def = true # true/false
  2872.  
  2873. # Whether to indent extern C blocks between #if, #else, and #endif.
  2874. # Only applies to the indent of the preprocesser that the extern block is
  2875. # directly inside of.
  2876. #
  2877. # Default: true
  2878. pp_indent_extern = true # true/false
  2879.  
  2880. # Whether to indent braces directly inside #if, #else, and #endif.
  2881. # Only applies to the indent of the preprocesser that the braces are directly
  2882. # inside of.
  2883. #
  2884. # Default: true
  2885. pp_indent_brace = true # true/false
  2886.  
  2887. #
  2888. # Sort includes options
  2889. #
  2890.  
  2891. # The regex for include category sortings
  2892. include_category_0 = ^<[^Q].+
  2893. include_category_1 = ^<Q.+
  2894. include_category_2 = ^"[^"\/\"]+"
  2895.  
  2896. #
  2897. # Use or Do not Use options
  2898. #
  2899.  
  2900. # true: indent_func_call_param will be used (default)
  2901. # false: indent_func_call_param will NOT be used
  2902. #
  2903. # Default: true
  2904. use_indent_func_call_param = true # true/false
  2905.  
  2906. # The value of the indentation for a continuation line is calculated
  2907. # differently if the statement is:
  2908. # - a declaration: your case with QString fileName ...
  2909. # - an assignment: your case with pSettings = new QSettings( ...
  2910. #
  2911. # At the second case the indentation value might be used twice:
  2912. # - at the assignment
  2913. # - at the function call (if present)
  2914. #
  2915. # To prevent the double use of the indentation value, use this option with the
  2916. # value 'true'.
  2917. #
  2918. # true: indent_continue will be used only once
  2919. # false: indent_continue will be used every time (default)
  2920. use_indent_continue_only_once = true # true/false
  2921.  
  2922. # The value might be used twice:
  2923. # - at the assignment
  2924. # - at the opening brace
  2925. #
  2926. # To prevent the double use of the indentation value, use this option with the
  2927. # value 'true'.
  2928. #
  2929. # true: indentation will be used only once
  2930. # false: indentation will be used every time (default)
  2931. indent_cpp_lambda_only_once = true # true/false
  2932.  
  2933. # Whether sp_after_angle takes precedence over sp_inside_fparen. This was the
  2934. # historic behavior, but is probably not the desired behavior, so this is off
  2935. # by default.
  2936. use_sp_after_angle_always = false # true/false
  2937.  
  2938. # Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,
  2939. # this tries to format these so that they match Qt's normalized form (i.e. the
  2940. # result of QMetaObject::normalizedSignature), which can slightly improve the
  2941. # performance of the QObject::connect call, rather than how they would
  2942. # otherwise be formatted.
  2943. #
  2944. # See options_for_QT.cpp for details.
  2945. #
  2946. # Default: true
  2947. use_options_overriding_for_qt_macros = true # true/false
  2948.  
  2949. #
  2950. # Warn levels - 1: error, 2: warning (default), 3: note
  2951. #
  2952.  
  2953. # (C#) Warning is given if doing tab-to-\t replacement and we have found one
  2954. # in a C# verbatim string literal.
  2955. #
  2956. # Default: 2
  2957. warn_level_tabs_found_in_verbatim_string_literals = 2 # unsigned number
  2958.  
  2959. # Meaning of the settings:
  2960. # Ignore - do not do any changes
  2961. # Add - makes sure there is 1 or more space/brace/newline/etc
  2962. # Force - makes sure there is exactly 1 space/brace/newline/etc,
  2963. # behaves like Add in some contexts
  2964. # Remove - removes space/brace/newline/etc
  2965. #
  2966. #
  2967. # - Token(s) can be treated as specific type(s) with the 'set' option:
  2968. # `set tokenType tokenString [tokenString...]`
  2969. #
  2970. # Example:
  2971. # `set BOOL __AND__ __OR__`
  2972. #
  2973. # tokenTypes are defined in src/token_enum.h, use them without the
  2974. # 'CT_' prefix: 'CT_BOOL' → 'BOOL'
  2975. #
  2976. #
  2977. # - Token(s) can be treated as type(s) with the 'type' option.
  2978. # `type tokenString [tokenString...]`
  2979. #
  2980. # Example:
  2981. # `type int c_uint_8 Rectangle`
  2982. #
  2983. # This can also be achieved with `set TYPE int c_uint_8 Rectangle`
  2984. #
  2985. #
  2986. # To embed whitespace in tokenStrings use the '\' escape character, or quote
  2987. # the tokenStrings. These quotes are supported: "'`
  2988. #
  2989. #
  2990. # - Support for the auto detection of languages through the file ending can be
  2991. # added using the 'file_ext' command.
  2992. # `file_ext langType langString [langString..]`
  2993. #
  2994. # Example:
  2995. # `file_ext CPP .ch .cxx .cpp.in`
  2996. #
  2997. # langTypes are defined in uncrusify_types.h in the lang_flag_e enum, use
  2998. # them without the 'LANG_' prefix: 'LANG_CPP' → 'CPP'
  2999. #
  3000. #
  3001. # - Custom macro-based indentation can be set up using 'macro-open',
  3002. # 'macro-else' and 'macro-close'.
  3003. # `(macro-open | macro-else | macro-close) tokenString`
  3004. #
  3005. # Example:
  3006. # `macro-open BEGIN_TEMPLATE_MESSAGE_MAP`
  3007. # `macro-open BEGIN_MESSAGE_MAP`
  3008. # `macro-close END_MESSAGE_MAP`
  3009. #
  3010. #
  3011. # option(s) with 'not default' value: 0
  3012. #
Advertisement
Add Comment
Please, Sign In to add comment