Advertisement
Guest User

Untitled

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