Repositorio del curso CCOM4030 el semestre B91 del proyecto Paz para la Mujer

uncrustify.cfg 65KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. # Based off of https://gist.github.com/261662/
  18. #
  19. # General options
  20. #
  21. # The type of line endings
  22. newlines = lf # auto/lf/crlf/cr
  23. # The original size of tabs in the input
  24. input_tab_size = 4 # number
  25. # The size of tabs in the output (only used if align_with_tabs=true)
  26. output_tab_size = 4 # number
  27. # The ASCII value of the string escape char, usually 92 (\) or 94 (^). (Pawn)
  28. string_escape_char = 92 # number
  29. # Alternate string escape char for Pawn. Only works right before the quote char.
  30. string_escape_char2 = 0 # number
  31. # Allow interpreting '>=' and '>>=' as part of a template in 'void f(list<list<B>>=val);'.
  32. # If true (default), 'assert(x<0 && y>=3)' will be broken.
  33. # Improvements to template detection may make this option obsolete.
  34. tok_split_gte = false # false/true
  35. # Control what to do with the UTF-8 BOM (recommend 'remove')
  36. utf8_bom = ignore # ignore/add/remove/force
  37. # If the file contains bytes with values between 128 and 255, but is not UTF-8, then output as UTF-8
  38. utf8_byte = false # false/true
  39. # Force the output encoding to UTF-8
  40. utf8_force = false # false/true
  41. #
  42. # Indenting
  43. #
  44. # The number of columns to indent per level.
  45. # Usually 2, 3, 4, or 8.
  46. indent_columns = 4 # number
  47. # The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
  48. # For FreeBSD, this is set to 4. Negative value is absolute and not increased for each ( level
  49. indent_continue = 4 # number
  50. # How to use tabs when indenting code
  51. # 0=spaces only
  52. # 1=indent with tabs to brace level, align with spaces
  53. # 2=indent and align with tabs, using spaces when not on a tabstop
  54. indent_with_tabs = 0 # number
  55. # Comments that are not a brace level are indented with tabs on a tabstop.
  56. # Requires indent_with_tabs=2. If false, will use spaces.
  57. indent_cmt_with_tabs = false # false/true
  58. # Whether to indent strings broken by '\' so that they line up
  59. indent_align_string = false # false/true
  60. # The number of spaces to indent multi-line XML strings.
  61. # Requires indent_align_string=True
  62. indent_xml_string = 0 # number
  63. # Spaces to indent '{' from level
  64. indent_brace = 0 # number
  65. # Whether braces are indented to the body level
  66. indent_braces = false # false/true
  67. # Disabled indenting function braces if indent_braces is true
  68. indent_braces_no_func = false # false/true
  69. # Disabled indenting class braces if indent_braces is true
  70. indent_braces_no_class = false # false/true
  71. # Disabled indenting struct braces if indent_braces is true
  72. indent_braces_no_struct = false # false/true
  73. # Indent based on the size of the brace parent, i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
  74. indent_brace_parent = false # false/true
  75. # Whether the 'namespace' body is indented
  76. indent_namespace = false # false/true
  77. # The number of spaces to indent a namespace block
  78. indent_namespace_level = 0 # number
  79. # If the body of the namespace is longer than this number, it won't be indented.
  80. # Requires indent_namespace=true. Default=0 (no limit)
  81. indent_namespace_limit = 0 # number
  82. # Whether the 'extern "C"' body is indented
  83. indent_extern = false # false/true
  84. # Whether the 'class' body is indented
  85. indent_class = true # false/true
  86. # Whether to indent the stuff after a leading class colon
  87. indent_class_colon = true # false/true
  88. # Additional indenting for constructor initializer list
  89. indent_ctor_init = 0 # number
  90. # False=treat 'else\nif' as 'else if' for indenting purposes
  91. # True=indent the 'if' one level
  92. indent_else_if = false # false/true
  93. # Amount to indent variable declarations after a open brace. neg=relative, pos=absolute
  94. indent_var_def_blk = 0 # number
  95. # Indent continued variable declarations instead of aligning.
  96. indent_var_def_cont = false # false/true
  97. # True: indent continued function call parameters one indent level
  98. # False: align parameters under the open paren
  99. indent_func_call_param = false # false/true
  100. # Same as indent_func_call_param, but for function defs
  101. indent_func_def_param = false # false/true
  102. # Same as indent_func_call_param, but for function protos
  103. indent_func_proto_param = false # false/true
  104. # Same as indent_func_call_param, but for class declarations
  105. indent_func_class_param = false # false/true
  106. # Same as indent_func_call_param, but for class variable constructors
  107. indent_func_ctor_var_param = false # false/true
  108. # Same as indent_func_call_param, but for templates
  109. indent_template_param = false # false/true
  110. # Double the indent for indent_func_xxx_param options
  111. indent_func_param_double = false # false/true
  112. # Indentation column for standalone 'const' function decl/proto qualifier
  113. indent_func_const = 0 # number
  114. # Indentation column for standalone 'throw' function decl/proto qualifier
  115. indent_func_throw = 0 # number
  116. # The number of spaces to indent a continued '->' or '.'
  117. # Usually set to 0, 1, or indent_columns.
  118. indent_member = 4 # number
  119. # Spaces to indent single line ('//') comments on lines before code
  120. indent_sing_line_comments = 0 # number
  121. # If set, will indent trailing single line ('//') comments relative
  122. # to the code instead of trying to keep the same absolute column
  123. indent_relative_single_line_comments = false # false/true
  124. # Spaces to indent 'case' from 'switch'
  125. # Usually 0 or indent_columns.
  126. indent_switch_case = 4 # number
  127. # Spaces to shift the 'case' line, without affecting any other lines
  128. # Usually 0.
  129. indent_case_shift = 0 # number
  130. # Spaces to indent '{' from 'case'.
  131. # By default, the brace will appear under the 'c' in case.
  132. # Usually set to 0 or indent_columns.
  133. indent_case_brace = 4 # number
  134. # Whether to indent comments found in first column
  135. indent_col1_comment = true # false/true
  136. # How to indent goto labels
  137. # >0 : absolute column where 1 is the leftmost column
  138. # <=0 : subtract from brace indent
  139. indent_label = 1 # number
  140. # Same as indent_label, but for access specifiers that are followed by a colon
  141. indent_access_spec = 1 # number
  142. # Indent the code after an access specifier by one level.
  143. # If set, this option forces 'indent_access_spec=0'
  144. indent_access_spec_body = false # false/true
  145. # If an open paren is followed by a newline, indent the next line so that it lines up after the open paren (not recommended)
  146. indent_paren_nl = false # false/true
  147. # Controls the indent of a close paren after a newline.
  148. # 0: Indent to body level
  149. # 1: Align under the open paren
  150. # 2: Indent to the brace level
  151. indent_paren_close = 0 # number
  152. # Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren
  153. indent_comma_paren = false # false/true
  154. # Controls the indent of a BOOL operator when inside a paren.If TRUE, aligns under the open paren
  155. indent_bool_paren = false # false/true
  156. # If 'indent_bool_paren' is true, controls the indent of the first expression. If TRUE, aligns the first expression to the following ones
  157. indent_first_bool_expr = false # false/true
  158. # If an open square is followed by a newline, indent the next line so that it lines up after the open square (not recommended)
  159. indent_square_nl = false # false/true
  160. # Don't change the relative indent of ESQL/C 'EXEC SQL' bodies
  161. indent_preserve_sql = false # false/true
  162. # Align continued statements at the '='. Default=True
  163. # If FALSE or the '=' is followed by a newline, the next line is indent one tab.
  164. indent_align_assign = true # false/true
  165. #
  166. # Spacing options
  167. #
  168. # Add or remove space around arithmetic operator '+', '-', '/', '*', etc
  169. sp_arith = force # ignore/add/remove/force
  170. # Add or remove space around assignment operator '=', '+=', etc
  171. sp_assign = force # ignore/add/remove/force
  172. # Add or remove space around assignment operator '=' in a prototype
  173. sp_assign_default = force # ignore/add/remove/force
  174. # Add or remove space before assignment operator '=', '+=', etc. Overrides sp_assign.
  175. sp_before_assign = ignore # ignore/add/remove/force
  176. # Add or remove space after assignment operator '=', '+=', etc. Overrides sp_assign.
  177. sp_after_assign = ignore # ignore/add/remove/force
  178. # Add or remove space around assignment '=' in enum
  179. sp_enum_assign = force # ignore/add/remove/force
  180. # Add or remove space before assignment '=' in enum. Overrides sp_enum_assign.
  181. sp_enum_before_assign = ignore # ignore/add/remove/force
  182. # Add or remove space after assignment '=' in enum. Overrides sp_enum_assign.
  183. sp_enum_after_assign = ignore # ignore/add/remove/force
  184. # Add or remove space around preprocessor '##' concatenation operator. Default=Add
  185. sp_pp_concat = ignore # ignore/add/remove/force
  186. # Add or remove space after preprocessor '#' stringify operator. Also affects the '#@' charizing operator. Default=Add
  187. sp_pp_stringify = remove # ignore/add/remove/force
  188. # Add or remove space around boolean operators '&&' and '||'
  189. sp_bool = force # ignore/add/remove/force
  190. # Add or remove space around compare operator '<', '>', '==', etc
  191. sp_compare = force # ignore/add/remove/force
  192. # Add or remove space inside '(' and ')'
  193. sp_inside_paren = remove # ignore/add/remove/force
  194. # Add or remove space between nested parens
  195. sp_paren_paren = remove # ignore/add/remove/force
  196. # Whether to balance spaces inside nested parens
  197. sp_balance_nested_parens = false # false/true
  198. # Add or remove space between ')' and '{'
  199. sp_paren_brace = force # ignore/add/remove/force
  200. # Add or remove space before pointer star '*'
  201. sp_before_ptr_star = remove # ignore/add/remove/force
  202. # Add or remove space before pointer star '*' that isn't followed by a variable name
  203. # If set to 'ignore', sp_before_ptr_star is used instead.
  204. sp_before_unnamed_ptr_star = ignore # ignore/add/remove/force
  205. # Add or remove space between pointer stars '*'
  206. sp_between_ptr_star = remove # ignore/add/remove/force
  207. # Add or remove space after pointer star '*', if followed by a word.
  208. sp_after_ptr_star = force # ignore/add/remove/force
  209. # Add or remove space after a pointer star '*', if followed by a func proto/def.
  210. sp_after_ptr_star_func = remove # ignore/add/remove/force
  211. # Add or remove space before a pointer star '*', if followed by a func proto/def.
  212. sp_before_ptr_star_func = force # ignore/add/remove/force
  213. # Add or remove space before a reference sign '&'
  214. sp_before_byref = force # ignore/add/remove/force
  215. # Add or remove space before a reference sign '&' that isn't followed by a variable name
  216. # If set to 'ignore', sp_before_byref is used instead.
  217. sp_before_unnamed_byref = ignore # ignore/add/remove/force
  218. # Add or remove space after reference sign '&', if followed by a word.
  219. sp_after_byref = remove # ignore/add/remove/force
  220. # Add or remove space after a reference sign '&', if followed by a func proto/def.
  221. sp_after_byref_func = remove # ignore/add/remove/force
  222. # Add or remove space before a reference sign '&', if followed by a func proto/def.
  223. sp_before_byref_func = force # ignore/add/remove/force
  224. # Add or remove space between type and word. Default=Force
  225. sp_after_type = force # ignore/add/remove/force
  226. # Add or remove space in 'template <' vs 'template<'.
  227. # If set to ignore, sp_before_angle is used.
  228. sp_template_angle = force # ignore/add/remove/force
  229. # Add or remove space before '<>'
  230. sp_before_angle = force # ignore/add/remove/force
  231. # Add or remove space inside '<' and '>'
  232. sp_inside_angle = remove # ignore/add/remove/force
  233. # Add or remove space after '<>'
  234. sp_after_angle = remove # ignore/add/remove/force
  235. # Add or remove space between '<>' and '(' as found in 'new List<byte>();'
  236. sp_angle_paren = remove # ignore/add/remove/force
  237. # Add or remove space between '<>' and a word as in 'List<byte> m;'
  238. sp_angle_word = force # ignore/add/remove/force
  239. # Add or remove space between '>' and '>' in '>>' (template stuff C++/C# only). Default=Add
  240. sp_angle_shift = add # ignore/add/remove/force
  241. # Add or remove space before '(' of 'if', 'for', 'switch', and 'while'
  242. sp_before_sparen = force # ignore/add/remove/force
  243. # Add or remove space inside if-condition '(' and ')'
  244. sp_inside_sparen = remove # ignore/add/remove/force
  245. # Add or remove space before if-condition ')'. Overrides sp_inside_sparen.
  246. sp_inside_sparen_close = ignore # ignore/add/remove/force
  247. # Add or remove space after ')' of 'if', 'for', 'switch', and 'while'
  248. sp_after_sparen = force # ignore/add/remove/force
  249. # Add or remove space between ')' and '{' of 'if', 'for', 'switch', and 'while'
  250. sp_sparen_brace = force # ignore/add/remove/force
  251. # Add or remove space between 'invariant' and '(' in the D language.
  252. sp_invariant_paren = force # ignore/add/remove/force
  253. # Add or remove space after the ')' in 'invariant (C) c' in the D language.
  254. sp_after_invariant_paren = force # ignore/add/remove/force
  255. # Add or remove space before empty statement ';' on 'if', 'for' and 'while'
  256. sp_special_semi = force # ignore/add/remove/force
  257. # Add or remove space before ';'. Default=Remove
  258. sp_before_semi = remove # ignore/add/remove/force
  259. # Add or remove space before ';' in non-empty 'for' statements
  260. sp_before_semi_for = remove # ignore/add/remove/force
  261. # Add or remove space before a semicolon of an empty part of a for statement.
  262. sp_before_semi_for_empty = remove # ignore/add/remove/force
  263. # Add or remove space after ';', except when followed by a comment. Default=Add
  264. sp_after_semi = force # ignore/add/remove/force
  265. # Add or remove space after ';' in non-empty 'for' statements. Default=Force
  266. sp_after_semi_for = force # ignore/add/remove/force
  267. # Add or remove space after the final semicolon of an empty part of a for statement: for ( ; ; <here> ).
  268. sp_after_semi_for_empty = force # ignore/add/remove/force
  269. # Add or remove space before '[' (except '[]')
  270. sp_before_square = ignore # ignore/add/remove/force
  271. # Add or remove space before '[]'
  272. sp_before_squares = remove # ignore/add/remove/force
  273. # Add or remove space inside a non-empty '[' and ']'
  274. sp_inside_square = remove # ignore/add/remove/force
  275. # Add or remove space after ','
  276. sp_after_comma = force # ignore/add/remove/force
  277. # Add or remove space before ','
  278. sp_before_comma = remove # ignore/add/remove/force
  279. # Add or remove space between an open paren and comma: '(,' vs '( ,'
  280. sp_paren_comma = force # ignore/add/remove/force
  281. # Add or remove space before the variadic '...' when preceded by a non-punctuator
  282. sp_before_ellipsis = force # ignore/add/remove/force
  283. # Add or remove space after class ':'
  284. sp_after_class_colon = force # ignore/add/remove/force
  285. # Add or remove space before class ':'
  286. sp_before_class_colon = force # ignore/add/remove/force
  287. # Add or remove space before case ':'. Default=Remove
  288. sp_before_case_colon = remove # ignore/add/remove/force
  289. # Add or remove space between 'operator' and operator sign
  290. sp_after_operator = force # ignore/add/remove/force
  291. # Add or remove space between the operator symbol and the open paren, as in 'operator ++('
  292. sp_after_operator_sym = remove # ignore/add/remove/force
  293. # Add or remove space after C/D cast, i.e. 'cast(int)a' vs 'cast(int) a' or '(int)a' vs '(int) a'
  294. sp_after_cast = remove # ignore/add/remove/force
  295. # Add or remove spaces inside cast parens
  296. sp_inside_paren_cast = remove # ignore/add/remove/force
  297. # Add or remove space between the type and open paren in a C++ cast, i.e. 'int(exp)' vs 'int (exp)'
  298. sp_cpp_cast_paren = remove # ignore/add/remove/force
  299. # Add or remove space between 'sizeof' and '('
  300. sp_sizeof_paren = remove # ignore/add/remove/force
  301. # Add or remove space after the tag keyword (Pawn)
  302. sp_after_tag = ignore # ignore/add/remove/force
  303. # Add or remove space inside enum '{' and '}'
  304. sp_inside_braces_enum = remove # ignore/add/remove/force
  305. # Add or remove space inside struct/union '{' and '}'
  306. sp_inside_braces_struct = remove # ignore/add/remove/force
  307. # Add or remove space inside '{' and '}'
  308. sp_inside_braces = remove # ignore/add/remove/force
  309. # Add or remove space inside '{}'
  310. sp_inside_braces_empty = remove # ignore/add/remove/force
  311. # Add or remove space between return type and function name
  312. # A minimum of 1 is forced except for pointer return types.
  313. sp_type_func = remove # ignore/add/remove/force
  314. # Add or remove space between function name and '(' on function declaration
  315. sp_func_proto_paren = remove # ignore/add/remove/force
  316. # Add or remove space between function name and '(' on function definition
  317. sp_func_def_paren = remove # ignore/add/remove/force
  318. # Add or remove space inside empty function '()'
  319. sp_inside_fparens = remove # ignore/add/remove/force
  320. # Add or remove space inside function '(' and ')'
  321. sp_inside_fparen = remove # ignore/add/remove/force
  322. # Add or remove space between ']' and '(' when part of a function call.
  323. sp_square_fparen = remove # ignore/add/remove/force
  324. # Add or remove space between ')' and '{' of function
  325. sp_fparen_brace = force # ignore/add/remove/force
  326. # Add or remove space between function name and '(' on function calls
  327. sp_func_call_paren = remove # ignore/add/remove/force
  328. # Add or remove space between function name and '()' on function calls without parameters.
  329. # If set to 'ignore' (the default), sp_func_call_paren is used.
  330. sp_func_call_paren_empty = remove # ignore/add/remove/force
  331. # Add or remove space between the user function name and '(' on function calls
  332. # You need to set a keyword to be a user function, like this: 'set func_call_user _' in the config file.
  333. sp_func_call_user_paren = remove # ignore/add/remove/force
  334. # Add or remove space between a constructor/destructor and the open paren
  335. sp_func_class_paren = remove # ignore/add/remove/force
  336. # Add or remove space between 'return' and '('
  337. sp_return_paren = force # ignore/add/remove/force
  338. # Add or remove space between '__attribute__' and '('
  339. sp_attribute_paren = remove # ignore/add/remove/force
  340. # Add or remove space between 'defined' and '(' in '#if defined (FOO)'
  341. sp_defined_paren = remove # ignore/add/remove/force
  342. # Add or remove space between 'throw' and '(' in 'throw (something)'
  343. sp_throw_paren = remove # ignore/add/remove/force
  344. # Add or remove space between 'catch' and '(' in 'catch (something) { }'
  345. # If set to ignore, sp_before_sparen is used.
  346. sp_catch_paren = remove # ignore/add/remove/force
  347. # Add or remove space between 'version' and '(' in 'version (something) { }' (D language)
  348. # If set to ignore, sp_before_sparen is used.
  349. sp_version_paren = remove # ignore/add/remove/force
  350. # Add or remove space between 'scope' and '(' in 'scope (something) { }' (D language)
  351. # If set to ignore, sp_before_sparen is used.
  352. sp_scope_paren = remove # ignore/add/remove/force
  353. # Add or remove space between macro and value
  354. sp_macro = remove # ignore/add/remove/force
  355. # Add or remove space between macro function ')' and value
  356. sp_macro_func = remove # ignore/add/remove/force
  357. # Add or remove space between 'else' and '{' if on the same line
  358. sp_else_brace = force # ignore/add/remove/force
  359. # Add or remove space between '}' and 'else' if on the same line
  360. sp_brace_else = force # ignore/add/remove/force
  361. # Add or remove space between '}' and the name of a typedef on the same line
  362. sp_brace_typedef = force # ignore/add/remove/force
  363. # Add or remove space between 'catch' and '{' if on the same line
  364. sp_catch_brace = force # ignore/add/remove/force
  365. # Add or remove space between '}' and 'catch' if on the same line
  366. sp_brace_catch = force # ignore/add/remove/force
  367. # Add or remove space between 'finally' and '{' if on the same line
  368. sp_finally_brace = force # ignore/add/remove/force
  369. # Add or remove space between '}' and 'finally' if on the same line
  370. sp_brace_finally = force # ignore/add/remove/force
  371. # Add or remove space between 'try' and '{' if on the same line
  372. sp_try_brace = force # ignore/add/remove/force
  373. # Add or remove space between get/set and '{' if on the same line
  374. sp_getset_brace = force # ignore/add/remove/force
  375. # Add or remove space before the '::' operator
  376. sp_before_dc = remove # ignore/add/remove/force
  377. # Add or remove space after the '::' operator
  378. sp_after_dc = remove # ignore/add/remove/force
  379. # Add or remove around the D named array initializer ':' operator
  380. sp_d_array_colon = remove # ignore/add/remove/force
  381. # Add or remove space after the '!' (not) operator. Default=Remove
  382. sp_not = remove # ignore/add/remove/force
  383. # Add or remove space after the '~' (invert) operator. Default=Remove
  384. sp_inv = remove # ignore/add/remove/force
  385. # Add or remove space after the '&' (address-of) operator. Default=Remove
  386. # This does not affect the spacing after a '&' that is part of a type.
  387. sp_addr = remove # ignore/add/remove/force
  388. # Add or remove space around the '.' or '->' operators. Default=Remove
  389. sp_member = remove # ignore/add/remove/force
  390. # Add or remove space after the '*' (dereference) operator. Default=Remove
  391. # This does not affect the spacing after a '*' that is part of a type.
  392. sp_deref = remove # ignore/add/remove/force
  393. # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'. Default=Remove
  394. sp_sign = remove # ignore/add/remove/force
  395. # Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'. Default=Remove
  396. sp_incdec = remove # ignore/add/remove/force
  397. # Add or remove space before a backslash-newline at the end of a line. Default=Add
  398. sp_before_nl_cont = force # ignore/add/remove/force
  399. # Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
  400. sp_after_oc_scope = force # ignore/add/remove/force
  401. # Add or remove space after the colon in message specs
  402. # '-(int) f:(int) x;' vs '-(int) f: (int) x;'
  403. sp_after_oc_colon = remove # ignore/add/remove/force
  404. # Add or remove space before the colon in message specs
  405. # '-(int) f: (int) x;' vs '-(int) f : (int) x;'
  406. sp_before_oc_colon = remove # ignore/add/remove/force
  407. # Add or remove space after the colon in message specs
  408. # '[object setValue:1];' vs '[object setValue: 1];'
  409. sp_after_send_oc_colon = remove # ignore/add/remove/force
  410. # Add or remove space before the colon in message specs
  411. # '[object setValue:1];' vs '[object setValue :1];'
  412. sp_before_send_oc_colon = remove # ignore/add/remove/force
  413. # Add or remove space after the (type) in message specs
  414. # '-(int)f: (int) x;' vs '-(int)f: (int)x;'
  415. sp_after_oc_type = remove # ignore/add/remove/force
  416. # Add or remove space after the first (type) in message specs
  417. # '-(int) f:(int)x;' vs '-(int)f:(int)x;'
  418. sp_after_oc_return_type = remove # ignore/add/remove/force
  419. # Add or remove space between '@selector' and '('
  420. # '@selector(msgName)' vs '@selector (msgName)'
  421. # Also applies to @protocol() constructs
  422. sp_after_oc_at_sel = remove # ignore/add/remove/force
  423. # Add or remove space between '@selector(x)' and the following word
  424. # '@selector(foo) a:' vs '@selector(foo)a:'
  425. sp_after_oc_at_sel_parens = force # ignore/add/remove/force
  426. # Add or remove space inside '@selector' parens
  427. # '@selector(foo)' vs '@selector( foo )'
  428. # Also applies to @protocol() constructs
  429. sp_inside_oc_at_sel_parens = remove # ignore/add/remove/force
  430. # Add or remove space before a block pointer caret
  431. # '^int (int arg){...}' vs. ' ^int (int arg){...}'
  432. sp_before_oc_block_caret = ignore # ignore/add/remove/force
  433. # Add or remove space after a block pointer caret
  434. # '^int (int arg){...}' vs. '^ int (int arg){...}'
  435. sp_after_oc_block_caret = ignore # ignore/add/remove/force
  436. # Add or remove space around the ':' in 'b ? t : f'
  437. sp_cond_colon = add # ignore/add/remove/force
  438. # Add or remove space around the '?' in 'b ? t : f'
  439. sp_cond_question = add # ignore/add/remove/force
  440. # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
  441. sp_case_label = ignore # ignore/add/remove/force
  442. # Control the space around the D '..' operator.
  443. sp_range = ignore # ignore/add/remove/force
  444. # Control the space after the opening of a C++ comment '// A' vs '//A'
  445. sp_cmt_cpp_start = add # ignore/add/remove/force
  446. # Controls the spaces between #else or #endif and a trailing comment
  447. sp_endif_cmt = ignore # ignore/add/remove/force
  448. # Controls the spaces after 'new', 'delete', and 'delete[]'
  449. sp_after_new = ignore # ignore/add/remove/force
  450. # Controls the spaces before a trailing or embedded comment
  451. sp_before_tr_emb_cmt = ignore # ignore/add/remove/force
  452. # Number of spaces before a trailing or embedded comment
  453. sp_num_before_tr_emb_cmt = 0 # number
  454. #
  455. # Code alignment (not left column spaces/tabs)
  456. #
  457. # Whether to keep non-indenting tabs
  458. align_keep_tabs = false # false/true
  459. # Whether to use tabs for aligning
  460. align_with_tabs = false # false/true
  461. # Whether to bump out to the next tab when aligning
  462. align_on_tabstop = false # false/true
  463. # Whether to left-align numbers
  464. align_number_left = false # false/true
  465. # Align variable definitions in prototypes and functions
  466. align_func_params = true # false/true
  467. # Align parameters in single-line functions that have the same name.
  468. # The function names must already be aligned with each other.
  469. align_same_func_call_params = false # false/true
  470. # The span for aligning variable definitions (0=don't align)
  471. align_var_def_span = 0 # number
  472. # How to align the star in variable definitions.
  473. # 0=Part of the type 'void * foo;'
  474. # 1=Part of the variable 'void *foo;'
  475. # 2=Dangling 'void *foo;'
  476. align_var_def_star_style = 1 # number
  477. # How to align the '&' in variable definitions.
  478. # 0=Part of the type
  479. # 1=Part of the variable
  480. # 2=Dangling
  481. align_var_def_amp_style = 2 # number
  482. # The threshold for aligning variable definitions (0=no limit)
  483. align_var_def_thresh = 0 # number
  484. # The gap for aligning variable definitions
  485. align_var_def_gap = 0 # number
  486. # Whether to align the colon in struct bit fields
  487. align_var_def_colon = true # false/true
  488. # Whether to align any attribute after the variable name
  489. align_var_def_attribute = false # false/true
  490. # Whether to align inline struct/enum/union variable definitions
  491. align_var_def_inline = true # false/true
  492. # The span for aligning on '=' in assignments (0=don't align)
  493. align_assign_span = 0 # number
  494. # The threshold for aligning on '=' in assignments (0=no limit)
  495. align_assign_thresh = 12 # number
  496. # The span for aligning on '=' in enums (0=don't align)
  497. align_enum_equ_span = 16 # number
  498. # The threshold for aligning on '=' in enums (0=no limit)
  499. align_enum_equ_thresh = 0 # number
  500. # The span for aligning struct/union (0=don't align)
  501. align_var_struct_span = 99 # number
  502. # The threshold for aligning struct/union member definitions (0=no limit)
  503. align_var_struct_thresh = 0 # number
  504. # The gap for aligning struct/union member definitions
  505. align_var_struct_gap = 0 # number
  506. # The span for aligning struct initializer values (0=don't align)
  507. align_struct_init_span = 3 # number
  508. # The minimum space between the type and the synonym of a typedef
  509. align_typedef_gap = 1 # number
  510. # The span for aligning single-line typedefs (0=don't align)
  511. align_typedef_span = 5 # number
  512. # How to align typedef'd functions with other typedefs
  513. # 0: Don't mix them at all
  514. # 1: align the open paren with the types
  515. # 2: align the function type name with the other type names
  516. align_typedef_func = 2 # number
  517. # Controls the positioning of the '*' in typedefs. Just try it.
  518. # 0: Align on typedef type, ignore '*'
  519. # 1: The '*' is part of type name: typedef int *pint;
  520. # 2: The '*' is part of the type, but dangling: typedef int *pint;
  521. align_typedef_star_style = 2 # number
  522. # Controls the positioning of the '&' in typedefs. Just try it.
  523. # 0: Align on typedef type, ignore '&'
  524. # 1: The '&' is part of type name: typedef int &pint;
  525. # 2: The '&' is part of the type, but dangling: typedef int &pint;
  526. align_typedef_amp_style = 2 # number
  527. # The span for aligning comments that end lines (0=don't align)
  528. align_right_cmt_span = 0 # number
  529. # If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment
  530. align_right_cmt_mix = false # false/true
  531. # If a trailing comment is more than this number of columns away from the text it follows,
  532. # it will qualify for being aligned. This has to be > 0 to do anything.
  533. align_right_cmt_gap = 0 # number
  534. # Align trailing comment at or beyond column N; 'pulls in' comments as a bonus side effect (0=ignore)
  535. align_right_cmt_at_col = 0 # number
  536. # The span for aligning function prototypes (0=don't align)
  537. align_func_proto_span = 0 # number
  538. # Minimum gap between the return type and the function name.
  539. align_func_proto_gap = 1 # number
  540. # Align function protos on the 'operator' keyword instead of what follows
  541. align_on_operator = false # false/true
  542. # Whether to mix aligning prototype and variable declarations.
  543. # If true, align_var_def_XXX options are used instead of align_func_proto_XXX options.
  544. align_mix_var_proto = true # false/true
  545. # Align single-line functions with function prototypes, uses align_func_proto_span
  546. align_single_line_func = false # false/true
  547. # Aligning the open brace of single-line functions.
  548. # Requires align_single_line_func=true, uses align_func_proto_span
  549. align_single_line_brace = false # false/true
  550. # Gap for align_single_line_brace.
  551. align_single_line_brace_gap = 0 # number
  552. # The span for aligning ObjC msg spec (0=don't align)
  553. align_oc_msg_spec_span = 0 # number
  554. # Whether to align macros wrapped with a backslash and a newline.
  555. # This will not work right if the macro contains a multi-line comment.
  556. align_nl_cont = true # false/true
  557. # # Align macro functions and variables together
  558. # align_pp_define_together = false # false/true
  559. # The minimum space between label and value of a preprocessor define
  560. align_pp_define_gap = 1 # number
  561. # The span for aligning on '#define' bodies (0=don't align)
  562. align_pp_define_span = 0 # number
  563. # Align lines that start with '<<' with previous '<<'. Default=true
  564. align_left_shift = true # false/true
  565. # Span for aligning parameters in an Obj-C message call on the ':' (0=don't align)
  566. align_oc_msg_colon_span = 1 # number
  567. # Aligning parameters in an Obj-C '+' or '-' declaration on the ':'
  568. align_oc_decl_colon = true # false/true
  569. #
  570. # Newline adding and removing options
  571. #
  572. # Whether to collapse empty blocks between '{' and '}'
  573. nl_collapse_empty_body = true # false/true
  574. # Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
  575. nl_assign_leave_one_liners = false # false/true
  576. # Don't split one-line braced statements inside a class xx { } body
  577. nl_class_leave_one_liners = false # false/true
  578. # Don't split one-line enums: 'enum foo { BAR = 15 };'
  579. nl_enum_leave_one_liners = false # false/true
  580. # Don't split one-line get or set functions
  581. nl_getset_leave_one_liners = false # false/true
  582. # Don't split one-line function definitions - 'int foo() { return 0; }'
  583. nl_func_leave_one_liners = false # false/true
  584. # Don't split one-line if/else statements - 'if(a) b++;'
  585. nl_if_leave_one_liners = false # false/true
  586. # Add or remove newlines at the start of the file
  587. nl_start_of_file = remove # ignore/add/remove/force
  588. # The number of newlines at the start of the file (only used if nl_start_of_file is 'add' or 'force'
  589. nl_start_of_file_min = 0 # number
  590. # Add or remove newline at the end of the file
  591. nl_end_of_file = force # ignore/add/remove/force
  592. # The number of newlines at the end of the file (only used if nl_end_of_file is 'add' or 'force')
  593. nl_end_of_file_min = 1 # number
  594. # Add or remove newline between '=' and '{'
  595. nl_assign_brace = ignore # ignore/add/remove/force
  596. # Add or remove newline between '=' and '[' (D only)
  597. nl_assign_square = ignore # ignore/add/remove/force
  598. # Add or remove newline after '= [' (D only). Will also affect the newline before the ']'
  599. nl_after_square_assign = ignore # ignore/add/remove/force
  600. # The number of blank lines after a block of variable definitions at the top of a function body
  601. # 0 = No change (default)
  602. nl_func_var_def_blk = 1 # number
  603. # The number of newlines before a block of typedefs
  604. # 0 = No change (default)
  605. # nl_typedef_blk_start = 0 # number
  606. # The number of newlines after a block of typedefs
  607. # 0 = No change (default)
  608. # nl_typedef_blk_end = 0 # number
  609. # The maximum consecutive newlines within a block of typedefs
  610. # 0 = No change (default)
  611. # nl_typedef_blk_in = 0 # number
  612. # The number of newlines before a block of variable definitions not at the top of a function body
  613. # 0 = No change (default)
  614. # nl_var_def_blk_start = 0 # number
  615. # The number of newlines after a block of variable definitions not at the top of a function body
  616. # 0 = No change (default)
  617. # nl_var_def_blk_end = 0 # number
  618. # The maximum consecutive newlines within a block of variable definitions
  619. # 0 = No change (default)
  620. # nl_var_def_blk_in = 0 # number
  621. # Add or remove newline between a function call's ')' and '{', as in:
  622. # list_for_each(item, &list) { }
  623. nl_fcall_brace = remove # ignore/add/remove/force
  624. # Add or remove newline between 'enum' and '{'
  625. nl_enum_brace = remove # ignore/add/remove/force
  626. # Add or remove newline between 'struct and '{'
  627. nl_struct_brace = remove # ignore/add/remove/force
  628. # Add or remove newline between 'union' and '{'
  629. nl_union_brace = remove # ignore/add/remove/force
  630. # Add or remove newline between 'if' and '{'
  631. nl_if_brace = remove # ignore/add/remove/force
  632. # Add or remove newline between '}' and 'else'
  633. nl_brace_else = remove # ignore/add/remove/force
  634. # Add or remove newline between 'else if' and '{'
  635. # If set to ignore, nl_if_brace is used instead
  636. nl_elseif_brace = remove # ignore/add/remove/force
  637. # Add or remove newline between 'else' and '{'
  638. nl_else_brace = remove # ignore/add/remove/force
  639. # Add or remove newline between 'else' and 'if'
  640. nl_else_if = remove # ignore/add/remove/force
  641. # Add or remove newline between '}' and 'finally'
  642. nl_brace_finally = ignore # ignore/add/remove/force
  643. # Add or remove newline between 'finally' and '{'
  644. nl_finally_brace = ignore # ignore/add/remove/force
  645. # Add or remove newline between 'try' and '{'
  646. nl_try_brace = ignore # ignore/add/remove/force
  647. # Add or remove newline between get/set and '{'
  648. nl_getset_brace = ignore # ignore/add/remove/force
  649. # Add or remove newline between 'for' and '{'
  650. nl_for_brace = remove # ignore/add/remove/force
  651. # Add or remove newline between 'catch' and '{'
  652. nl_catch_brace = ignore # ignore/add/remove/force
  653. # Add or remove newline between '}' and 'catch'
  654. nl_brace_catch = ignore # ignore/add/remove/force
  655. # Add or remove newline between 'while' and '{'
  656. nl_while_brace = remove # ignore/add/remove/force
  657. # Add or remove newline between 'using' and '{'
  658. nl_using_brace = ignore # ignore/add/remove/force
  659. # Add or remove newline between two open or close braces.
  660. # Due to general newline/brace handling, REMOVE may not work.
  661. nl_brace_brace = ignore # ignore/add/remove/force
  662. # Add or remove newline between 'do' and '{'
  663. nl_do_brace = remove # ignore/add/remove/force
  664. # Add or remove newline between '}' and 'while' of 'do' statement
  665. nl_brace_while = remove # ignore/add/remove/force
  666. # Add or remove newline between 'switch' and '{'
  667. nl_switch_brace = remove # ignore/add/remove/force
  668. # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc.
  669. # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch, and nl_catch_brace.
  670. nl_multi_line_cond = false # false/true
  671. # Force a newline in a define after the macro name for multi-line defines.
  672. nl_multi_line_define = false # false/true
  673. # Whether to put a newline before 'case' statement
  674. nl_before_case = true # false/true
  675. # Add or remove newline between ')' and 'throw'
  676. nl_before_throw = ignore # ignore/add/remove/force
  677. # Whether to put a newline after 'case' statement
  678. nl_after_case = true # false/true
  679. # Add or remove a newline between a case ':' and '{'. Overrides nl_after_case.
  680. nl_case_colon_brace = ignore # ignore/add/remove/force
  681. # Newline between namespace and {
  682. nl_namespace_brace = ignore # ignore/add/remove/force
  683. # Add or remove newline between 'template<>' and whatever follows.
  684. nl_template_class = ignore # ignore/add/remove/force
  685. # Add or remove newline between 'class' and '{'
  686. nl_class_brace = ignore # ignore/add/remove/force
  687. # Add or remove newline after each ',' in the constructor member initialization
  688. nl_class_init_args = ignore # ignore/add/remove/force
  689. # Add or remove newline between return type and function name in a function definition
  690. nl_func_type_name = ignore # ignore/add/remove/force
  691. # Add or remove newline between return type and function name inside a class {}
  692. # Uses nl_func_type_name or nl_func_proto_type_name if set to ignore.
  693. nl_func_type_name_class = ignore # ignore/add/remove/force
  694. # Add or remove newline between function scope and name in a definition
  695. # Controls the newline after '::' in 'void A::f() { }'
  696. nl_func_scope_name = ignore # ignore/add/remove/force
  697. # Add or remove newline between return type and function name in a prototype
  698. nl_func_proto_type_name = ignore # ignore/add/remove/force
  699. # Add or remove newline between a function name and the opening '('
  700. nl_func_paren = ignore # ignore/add/remove/force
  701. # Add or remove newline between a function name and the opening '(' in the definition
  702. nl_func_def_paren = ignore # ignore/add/remove/force
  703. # Add or remove newline after '(' in a function declaration
  704. nl_func_decl_start = ignore # ignore/add/remove/force
  705. # Add or remove newline after '(' in a function definition
  706. nl_func_def_start = ignore # ignore/add/remove/force
  707. # Overrides nl_func_decl_start when there is only one parameter.
  708. nl_func_decl_start_single = ignore # ignore/add/remove/force
  709. # Overrides nl_func_def_start when there is only one parameter.
  710. nl_func_def_start_single = ignore # ignore/add/remove/force
  711. # Add or remove newline after each ',' in a function declaration
  712. nl_func_decl_args = ignore # ignore/add/remove/force
  713. # Add or remove newline after each ',' in a function definition
  714. nl_func_def_args = ignore # ignore/add/remove/force
  715. # Add or remove newline before the ')' in a function declaration
  716. nl_func_decl_end = ignore # ignore/add/remove/force
  717. # Add or remove newline before the ')' in a function definition
  718. nl_func_def_end = ignore # ignore/add/remove/force
  719. # Overrides nl_func_decl_end when there is only one parameter.
  720. nl_func_decl_end_single = ignore # ignore/add/remove/force
  721. # Overrides nl_func_def_end when there is only one parameter.
  722. nl_func_def_end_single = ignore # ignore/add/remove/force
  723. # Add or remove newline between '()' in a function declaration.
  724. nl_func_decl_empty = ignore # ignore/add/remove/force
  725. # Add or remove newline between '()' in a function definition.
  726. nl_func_def_empty = ignore # ignore/add/remove/force
  727. # Add or remove newline between function signature and '{'
  728. nl_fdef_brace = force # ignore/add/remove/force
  729. # Whether to put a newline after 'return' statement
  730. nl_after_return = true # false/true
  731. # Add or remove a newline between the return keyword and return expression.
  732. nl_return_expr = ignore # ignore/add/remove/force
  733. # Whether to put a newline after semicolons, except in 'for' statements
  734. nl_after_semicolon = false # false/true
  735. # Whether to put a newline after brace open.
  736. # This also adds a newline before the matching brace close.
  737. nl_after_brace_open = false # false/true
  738. # If nl_after_brace_open and nl_after_brace_open_cmt are true, a newline is
  739. # placed between the open brace and a trailing single-line comment.
  740. nl_after_brace_open_cmt = false # false/true
  741. # Whether to put a newline after a virtual brace open with a non-empty body.
  742. # These occur in un-braced if/while/do/for statement bodies.
  743. nl_after_vbrace_open = false # false/true
  744. # Whether to put a newline after a virtual brace open with an empty body.
  745. # These occur in un-braced if/while/do/for statement bodies.
  746. nl_after_vbrace_open_empty = false # false/true
  747. # Whether to put a newline after a brace close.
  748. # Does not apply if followed by a necessary ';'.
  749. nl_after_brace_close = false # false/true
  750. # Whether to put a newline after a virtual brace close.
  751. # Would add a newline before return in: 'if (foo) a++; return;'
  752. nl_after_vbrace_close = false # false/true
  753. # Whether to alter newlines in '#define' macros
  754. nl_define_macro = true # false/true
  755. # Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
  756. nl_squeeze_ifdef = true # false/true
  757. # Add or remove blank line before 'if'
  758. nl_before_if = ignore # ignore/add/remove/force
  759. # Add or remove blank line after 'if' statement
  760. nl_after_if = ignore # ignore/add/remove/force
  761. # Add or remove blank line before 'for'
  762. nl_before_for = force # ignore/add/remove/force
  763. # Add or remove blank line after 'for' statement
  764. nl_after_for = force # ignore/add/remove/force
  765. # Add or remove blank line before 'while'
  766. nl_before_while = force # ignore/add/remove/force
  767. # Add or remove blank line after 'while' statement
  768. nl_after_while = force # ignore/add/remove/force
  769. # Add or remove blank line before 'switch'
  770. nl_before_switch = ignore # ignore/add/remove/force
  771. # Add or remove blank line after 'switch' statement
  772. nl_after_switch = ignore # ignore/add/remove/force
  773. # Add or remove blank line before 'do'
  774. nl_before_do = ignore # ignore/add/remove/force
  775. # Add or remove blank line after 'do/while' statement
  776. nl_after_do = ignore # ignore/add/remove/force
  777. # Whether to double-space commented-entries in struct/enum
  778. nl_ds_struct_enum_cmt = false # false/true
  779. # Whether to double-space before the close brace of a struct/union/enum
  780. # (lower priority than 'eat_blanks_before_close_brace')
  781. nl_ds_struct_enum_close_brace = false # false/true
  782. # Add or remove a newline around a class colon.
  783. # Related to pos_class_colon, nl_class_init_args, and pos_comma.
  784. nl_class_colon = ignore # ignore/add/remove/force
  785. # Change simple unbraced if statements into a one-liner
  786. # 'if(b)\n i++;' => 'if(b) i++;'
  787. nl_create_if_one_liner = false # false/true
  788. # Change simple unbraced for statements into a one-liner
  789. # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'
  790. nl_create_for_one_liner = false # false/true
  791. # Change simple unbraced while statements into a one-liner
  792. # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'
  793. nl_create_while_one_liner = false # false/true
  794. #
  795. # Positioning options
  796. #
  797. # The position of arithmetic operators in wrapped expressions
  798. pos_arith = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  799. # The position of assignment in wrapped expressions.
  800. # Do not affect '=' followed by '{'
  801. pos_assign = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  802. # The position of boolean operators in wrapped expressions
  803. pos_bool = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  804. # The position of comparison operators in wrapped expressions
  805. pos_compare = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  806. # The position of conditional (b ? t : f) operators in wrapped expressions
  807. pos_conditional = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  808. # The position of the comma in wrapped expressions
  809. pos_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  810. # The position of the comma in the constructor initialization list
  811. pos_class_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  812. # The position of colons between constructor and member initialization
  813. pos_class_colon = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
  814. #
  815. # Line Splitting options
  816. #
  817. # Try to limit code width to N number of columns
  818. code_width = 0 # number
  819. # Whether to fully split long 'for' statements at semi-colons
  820. ls_for_split_full = false # false/true
  821. # Whether to fully split long function protos/calls at commas
  822. ls_func_split_full = true # false/true
  823. # Whether to split lines as close to code_width as possible and ignore some groupings
  824. # ls_code_width = false # false/true
  825. #
  826. # Blank line options
  827. #
  828. # The maximum consecutive newlines
  829. nl_max = 2 # number
  830. # The number of newlines after a function prototype, if followed by another function prototype
  831. nl_after_func_proto = 2 # number
  832. # The number of newlines after a function prototype, if not followed by another function prototype
  833. nl_after_func_proto_group = 2 # number
  834. # The number of newlines after '}' of a multi-line function body
  835. nl_after_func_body = 2 # number
  836. # The number of newlines after '}' of a multi-line function body in a class declaration
  837. nl_after_func_body_class = 0 # number
  838. # The number of newlines after '}' of a single line function body
  839. nl_after_func_body_one_liner = 2 # number
  840. # The minimum number of newlines before a multi-line comment.
  841. # Doesn't apply if after a brace open or another multi-line comment.
  842. nl_before_block_comment = 2 # number
  843. # The minimum number of newlines before a single-line C comment.
  844. # Doesn't apply if after a brace open or other single-line C comments.
  845. nl_before_c_comment = 1 # number
  846. # The minimum number of newlines before a CPP comment.
  847. # Doesn't apply if after a brace open or other CPP comments.
  848. nl_before_cpp_comment = 1 # number
  849. # Whether to force a newline after a multi-line comment.
  850. nl_after_multiline_comment = false # false/true
  851. # The number of newlines after '}' or ';' of a struct/enum/union definition
  852. nl_after_struct = 0 # number
  853. # The number of newlines after '}' or ';' of a class definition
  854. nl_after_class = 0 # number
  855. # The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
  856. # Will not change the newline count if after a brace open.
  857. # 0 = No change.
  858. nl_before_access_spec = 0 # number
  859. # The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
  860. # 0 = No change.
  861. nl_after_access_spec = 0 # number
  862. # The number of newlines between a function def and the function comment.
  863. # 0 = No change.
  864. nl_comment_func_def = 1 # number
  865. # The number of newlines after a try-catch-finally block that isn't followed by a brace close.
  866. # 0 = No change.
  867. nl_after_try_catch_finally = 2 # number
  868. # The number of newlines before and after a property, indexer or event decl.
  869. # 0 = No change.
  870. nl_around_cs_property = 0 # number
  871. # The number of newlines between the get/set/add/remove handlers in C#.
  872. # 0 = No change.
  873. nl_between_get_set = 0 # number
  874. # Add or remove newline between C# property and the '{'
  875. nl_property_brace = ignore # ignore/add/remove/force
  876. # Whether to remove blank lines after '{'
  877. eat_blanks_after_open_brace = true # false/true
  878. # Whether to remove blank lines before '}'
  879. eat_blanks_before_close_brace = true # false/true
  880. # How aggressively to remove extra newlines not in preproc.
  881. # 0: No change
  882. # 1: Remove most newlines not handled by other config
  883. # 2: Remove all newlines and reformat completely by config
  884. # nl_remove_extra_newlines = 0 # number
  885. #
  886. # Code modifying options (non-whitespace)
  887. #
  888. # Add or remove braces on single-line 'do' statement
  889. mod_full_brace_do = add # ignore/add/remove/force
  890. # Add or remove braces on single-line 'for' statement
  891. mod_full_brace_for = add # ignore/add/remove/force
  892. # Add or remove braces on single-line function definitions. (Pawn)
  893. mod_full_brace_function = ignore # ignore/add/remove/force
  894. # Add or remove braces on single-line 'if' statement. Will not remove the braces if they contain an 'else'.
  895. mod_full_brace_if = add # ignore/add/remove/force
  896. # Make all if/elseif/else statements in a chain be braced or not. Overrides mod_full_brace_if.
  897. # If any must be braced, they are all braced. If all can be unbraced, then the braces are removed.
  898. mod_full_brace_if_chain = false # false/true
  899. # Don't remove braces around statements that span N newlines
  900. mod_full_brace_nl = 0 # number
  901. # Add or remove braces on single-line 'while' statement
  902. mod_full_brace_while = add # ignore/add/remove/force
  903. # Add or remove braces on single-line 'using ()' statement
  904. mod_full_brace_using = ignore # ignore/add/remove/force
  905. # Add or remove unnecessary paren on 'return' statement
  906. mod_paren_on_return = remove # ignore/add/remove/force
  907. # Whether to change optional semicolons to real semicolons
  908. mod_pawn_semicolon = false # false/true
  909. # Add parens on 'while' and 'if' statement around bools
  910. mod_full_paren_if_bool = true # false/true
  911. # Whether to remove superfluous semicolons
  912. mod_remove_extra_semicolon = true # false/true
  913. # If a function body exceeds the specified number of newlines and doesn't have a comment after
  914. # the close brace, a comment will be added.
  915. mod_add_long_function_closebrace_comment = 0 # number
  916. # If a switch body exceeds the specified number of newlines and doesn't have a comment after
  917. # the close brace, a comment will be added.
  918. mod_add_long_switch_closebrace_comment = 0 # number
  919. # If an #ifdef body exceeds the specified number of newlines and doesn't have a comment after
  920. # the #endif, a comment will be added.
  921. mod_add_long_ifdef_endif_comment = 20 # number
  922. # If an #ifdef or #else body exceeds the specified number of newlines and doesn't have a comment after
  923. # the #else, a comment will be added.
  924. mod_add_long_ifdef_else_comment = 0 # number
  925. # If TRUE, will sort consecutive single-line 'import' statements [Java, D]
  926. mod_sort_import = false # false/true
  927. # If TRUE, will sort consecutive single-line 'using' statements [C#]
  928. mod_sort_using = false # false/true
  929. # If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
  930. # This is generally a bad idea, as it may break your code.
  931. mod_sort_include = false # false/true
  932. # If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
  933. mod_move_case_break = false # false/true
  934. # Will add or remove the braces around a fully braced case statement.
  935. # Will only remove the braces if there are no variable declarations in the block.
  936. mod_case_brace = ignore # ignore/add/remove/force
  937. # If TRUE, it will remove a void 'return;' that appears as the last statement in a function.
  938. mod_remove_empty_return = true # false/true
  939. #
  940. # Comment modifications
  941. #
  942. # Try to wrap comments at cmt_width columns
  943. cmt_width = 0 # number
  944. # Set the comment reflow mode (default: 0)
  945. # 0: no reflowing (apart from the line wrapping due to cmt_width)
  946. # 1: no touching at all
  947. # 2: full reflow
  948. cmt_reflow_mode = 0 # number
  949. # If false, disable all multi-line comment changes, including cmt_width. keyword substitution, and leading chars.
  950. # Default is true.
  951. cmt_indent_multi = false # false/true
  952. # Whether to group c-comments that look like they are in a block
  953. cmt_c_group = false # false/true
  954. # Whether to put an empty '/*' on the first line of the combined c-comment
  955. cmt_c_nl_start = false # false/true
  956. # Whether to put a newline before the closing '*/' of the combined c-comment
  957. cmt_c_nl_end = true # false/true
  958. # Whether to group cpp-comments that look like they are in a block
  959. cmt_cpp_group = false # false/true
  960. # Whether to put an empty '/*' on the first line of the combined cpp-comment
  961. cmt_cpp_nl_start = false # false/true
  962. # Whether to put a newline before the closing '*/' of the combined cpp-comment
  963. cmt_cpp_nl_end = true # false/true
  964. # Whether to change cpp-comments into c-comments
  965. cmt_cpp_to_c = false # false/true
  966. # Whether to put a star on subsequent comment lines
  967. cmt_star_cont = true # false/true
  968. # The number of spaces to insert at the start of subsequent comment lines
  969. cmt_sp_before_star_cont = 0 # number
  970. # The number of spaces to insert after the star on subsequent comment lines
  971. cmt_sp_after_star_cont = 2 # number
  972. # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
  973. # the comment are the same length. Default=True
  974. cmt_multi_check_last = true # false/true
  975. # The filename that contains text to insert at the head of a file if the file doesn't start with a C/C++ comment.
  976. # Will substitute $(filename) with the current file's name.
  977. cmt_insert_file_header = "" # string
  978. # The filename that contains text to insert at the end of a file if the file doesn't end with a C/C++ comment.
  979. # Will substitute $(filename) with the current file's name.
  980. cmt_insert_file_footer = "" # string
  981. # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ comment.
  982. # Will substitute $(function) with the function name and $(javaparam) with the javadoc @param and @return stuff.
  983. # Will also substitute $(fclass) with the class name: void CFoo::Bar() { ... }
  984. cmt_insert_func_header = "" # string
  985. # The filename that contains text to insert before a class if the class isn't preceded with a C/C++ comment.
  986. # Will substitute $(class) with the class name.
  987. cmt_insert_class_header = "" # string
  988. # The filename that contains text to insert before a Obj-C message specification if the method isn't preceded with a C/C++ comment.
  989. # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff.
  990. cmt_insert_oc_msg_header = "" # string
  991. # If a preprocessor is encountered when stepping backwards from a function name, then
  992. # this option decides whether the comment should be inserted.
  993. # Affects cmt_insert_oc_msg_header, cmt_insert_func_header and cmt_insert_class_header.
  994. cmt_insert_before_preproc = false # false/true
  995. #
  996. # Preprocessor options
  997. #
  998. # Control indent of preprocessors inside #if blocks at brace level 0
  999. pp_indent = add # ignore/add/remove/force
  1000. # Whether to indent #if/#else/#endif at the brace level (true) or from column 1 (false)
  1001. pp_indent_at_level = false # false/true
  1002. # If pp_indent_at_level=false, specifies the number of columns to indent per level. Default=1.
  1003. pp_indent_count = 4 # number
  1004. # Add or remove space after # based on pp_level of #if blocks
  1005. pp_space = remove # ignore/add/remove/force
  1006. # Sets the number of spaces added with pp_space
  1007. pp_space_count = 0 # number
  1008. # The indent for #region and #endregion in C# and '#pragma region' in C/C++
  1009. pp_indent_region = 0 # number
  1010. # Whether to indent the code between #region and #endregion
  1011. pp_region_indent_code = false # false/true
  1012. # If pp_indent_at_level=true, sets the indent for #if, #else, and #endif when not at file-level
  1013. pp_indent_if = 1 # number
  1014. # Control whether to indent the code between #if, #else and #endif when not at file-level
  1015. pp_if_indent_code = true # false/true
  1016. # Whether to indent '#define' at the brace level (true) or from column 1 (false)
  1017. pp_define_at_level = false # false/true
  1018. # You can force a token to be a type with the 'type' option.
  1019. # Example:
  1020. # type myfoo1 myfoo2
  1021. #
  1022. # You can create custom macro-based indentation using macro-open,
  1023. # macro-else and macro-close.
  1024. # Example:
  1025. # macro-open BEGIN_TEMPLATE_MESSAGE_MAP
  1026. # macro-open BEGIN_MESSAGE_MAP
  1027. # macro-close END_MESSAGE_MAP
  1028. #
  1029. # You can assign any keyword to any type with the set option.
  1030. # set func_call_user _ N_
  1031. #
  1032. # The full syntax description of all custom definition config entries
  1033. # is shown below:
  1034. #
  1035. # define custom tokens as:
  1036. # - embed whitespace in token using '' escape character, or
  1037. # put token in quotes
  1038. # - these: ' " and ` are recognized as quote delimiters
  1039. #
  1040. # type token1 token2 token3 ...
  1041. # ^ optionally specify multiple tokens on a single line
  1042. # define def_token output_token
  1043. # ^ output_token is optional, then NULL is assumed
  1044. # macro-open token
  1045. # macro-close token
  1046. # macro-else token
  1047. # set id token1 token2 ...
  1048. # ^ optionally specify multiple tokens on a single line
  1049. # ^ id is one of the names in token_enum.h sans the CT_ prefix,
  1050. # e.g. PP_PRAGMA
  1051. #
  1052. # all tokens are separated by any mix of ',' commas, '=' equal signs
  1053. # and whitespace (space, tab)
  1054. #
  1055. set FUNC_CALL_USER theObject
  1056. set FUNC_CALL_USER theValue