-
Notifications
You must be signed in to change notification settings - Fork 0
/
uncrustify.cfg
1494 lines (981 loc) · 55.2 KB
/
uncrustify.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#
# Alignment
# ---------
## Alignment
# Align ObjC declaration params on colon
align_oc_decl_colon = true # boolean (false/true)
# Align function prototypes on operator keyword
align_on_operator = false # boolean (false/true)
# Align on tabstop
align_on_tabstop = false # boolean (false/true)
# Align open brace of single-line functions
align_single_line_brace = false # boolean (false/true)
# Align parameters in single-line functions with same name
align_same_func_call_params = false # boolean (false/true)
# Align single-line functions with function prototypes
align_single_line_func = false # boolean (false/true)
# Align variable definitions
align_func_params = true # boolean (false/true)
# Align with tabs
align_with_tabs = false # boolean (false/true)
# Keep non-indenting tabs
align_keep_tabs = false # boolean (false/true)
# Left-align numbers
align_number_left = false # boolean (false/true)
## Alignment Span
# Alignment span for #define bodies
align_pp_define_span = 0 # number
# Alignment span for ObjC message colons
align_oc_msg_colon_span = 1 # number
# Alignment span for ObjC message spec
align_oc_msg_spec_span = 0 # number
# Alignment span for assignment
align_assign_span = 0 # number
# Alignment span for equals in enums
align_enum_equ_span = 4 # number
# Alignment span for function prototypes
align_func_proto_span = 0 # number
# Alignment span for single-line typedefs
align_typedef_span = 0 # number
# Alignment span for struct initializer values
align_struct_init_span = 0 # number
# Alignment span for struct/union
align_var_struct_span = 0 # number
# Alignment span for trailing comments
align_right_cmt_span = 0 # number
# Alignment span for variable definitions
align_var_def_span = 0 # number
## Alignment Style
# Alignment style for ampersand in typedefs
align_typedef_amp_style = 0 # number
# Alignment style for ampersand in variable definitions
align_var_def_amp_style = 0 # number
# Alignment style for star in typedefs
align_typedef_star_style = 0 # number
# Alignment style for star in variable definitions
align_var_def_star_style = 0 # number
# Alignnment style for typedef'd functions
align_typedef_func = 0 # number
## Gap
# Gap for 'align open brace of single-line functions'
align_single_line_brace_gap = 0 # number
# Gap for aligning struct/union member definitions
align_var_struct_gap = 0 # number
# Gap for aligning variable definitions
align_var_def_gap = 0 # number
# Minimum gap between label and value of preprocessor define
align_pp_define_gap = 0 # number
# Minimum gap between return type and function name
align_func_proto_gap = 0 # number
# Minimum gap between type and synonym of typedef
align_typedef_gap = 0 # number
# Minimum gap for trailing comment
align_right_cmt_gap = 0 # number
## Limits
# Align on equals in assignments threshold
align_assign_thresh = 0 # number
# Align on equals in enums threshold
align_enum_equ_thresh = 0 # number
# Align struct/union definitions threshold
align_var_struct_thresh = 0 # number
# Align variable definitions threshold
align_var_def_thresh = 0 # number
## Other
# Align attribute after variable name
align_var_def_attribute = false # boolean (false/true)
# Align colon in struct bit fields
align_var_def_colon = false # boolean (false/true)
# Align comments after close brace and endif
align_right_cmt_mix = false # boolean (false/true)
# Align inline struct/enum/union variable definitions
align_var_def_inline = false # boolean (false/true)
# Align left shift operators on new lines
align_left_shift = true # boolean (false/true)
# Align macro functions and variables together
align_pp_define_together = false # boolean (false/true)
# Align macros wrapped with backslash and newline
align_nl_cont = false # boolean (false/true)
# Align trailing comments beyond column N
align_right_cmt_at_col = 0 # number
# Always align with first parameter in ObjC message
align_oc_msg_colon_first = false # boolean (false/true)
# Mix aligining prototype and variable declarations
align_mix_var_proto = false # boolean (false/true)
# Blank Lines
# -----------
## Newline After
# Newline after Java annotation statement
nl_after_annotation = ignore # string (add/force/ignore/remove)
# Newline after multiline comment
nl_after_multiline_comment = false # boolean (false/true)
## Newline Count After
# Newline count after access specifier label
nl_after_access_spec = 1 # number
# Newline count after close parenthesis of function body in class declaration
nl_after_func_body_class = 0 # number
# Newline count after closing class definition
nl_after_class = 0 # number
# Newline count after closing struct/enum/union definition
nl_after_struct = 0 # number
# Newline count after function body
nl_after_func_body = 2 # number
# Newline count after function prototype
nl_after_func_proto = 1 # number
# Newline count after function prototype group
nl_after_func_proto_group = 2 # number
# Newline count after single-line function body
nl_after_func_body_one_liner = 0 # number
# Newline count after try-catch-finally
nl_after_try_catch_finally = 0 # number
# Newline count after typedef block
nl_typedef_blk_end = 0 # number
# Newline count after variable definition block
nl_func_var_def_blk = 0 # number
# Newline count after variable definition block not at top of function body
nl_var_def_blk_end = 0 # number
## Newline Count Before
# Newline count before C comment
nl_before_c_comment = 0 # number
# Newline count before C++ comment
nl_before_cpp_comment = 0 # number
# Newline count before access specifier label
nl_before_access_spec = 0 # number
# Newline count before multi-line comment
nl_before_block_comment = 0 # number
# Newline count before typedef block
nl_typedef_blk_start = 0 # number
# Newline count before variable definition block
nl_var_def_blk_start = 0 # number
## Newline Count Between
# Newline count between function def and function comment
nl_comment_func_def = 0 # number
# Newline count between get/set/add/remove
nl_between_get_set = 0 # number
## Newline Count Within
# Maximum consecutive newlines within typedef block
nl_typedef_blk_in = 0 # number
# Maximum consecutive newlines within variable definition block
nl_var_def_blk_in = 0 # number
## Other
# Maximum consecutive newlines
nl_max = 2 # number
# Newline count around C# property
nl_around_cs_property = 0 # number
# Remove blank lines after open brace
eat_blanks_after_open_brace = true # boolean (false/true)
# Remove blank lines before close brace
eat_blanks_before_close_brace = true # boolean (false/true)
# Code-Modifying
# --------------
## Braces
# Braces around fully braced case statement
mod_case_brace = ignore # string (add/force/ignore/remove)
# Braces around statments that span N newlines
mod_full_brace_nl = 0 # number
# Braces on chained if/elseif/else statements
mod_full_brace_if_chain = false # boolean (false/true)
# Braces on single-line do statement
mod_full_brace_do = ignore # string (add/force/ignore/remove)
# Braces on single-line else statement
mod_full_brace_if = ignore # string (add/force/ignore/remove)
# Braces on single-line for statement
mod_full_brace_for = ignore # string (add/force/ignore/remove)
# Braces on single-line function definition
mod_full_brace_function = ignore # string (add/force/ignore/remove)
# Braces on single-line using statement
mod_full_brace_using = ignore # string (add/force/ignore/remove)
# Braces on single-line while statement
mod_full_brace_while = ignore # string (add/force/ignore/remove)
## Comments
# Add comment after function of size
mod_add_long_function_closebrace_comment = 0 # number
# Add comment after ifdef/else statement of size
mod_add_long_ifdef_else_comment = 0 # number
# Add comment after ifdef/endif statement of size
mod_add_long_ifdef_endif_comment = 0 # number
# Add comment after switch statement of size
mod_add_long_switch_closebrace_comment = 0 # number
## Other
# Move break in fully-braced case before close brace
mod_move_case_break = true # boolean (false/true)
# Remove empty return as last statement in function
mod_remove_empty_return = false # boolean (false/true)
## Parentheses
# Add parentheses on while and if statements around bool
mod_full_paren_if_bool = false # boolean (false/true)
# Remove unnecessary parentheses on return statement
mod_paren_on_return = ignore # string (add/force/ignore/remove)
## Semicolons
# Change optional semicolons to real semicolons
mod_pawn_semicolon = false # boolean (false/true)
# Remove superflous semicolons
mod_remove_extra_semicolon = true # boolean (false/true)
## Sorting
# Sort consecutive import statements
mod_sort_import = false # boolean (false/true)
# Sort include statements
mod_sort_include = false # boolean (false/true)
# Sort using statements
mod_sort_using = false # boolean (false/true)
# Comments
# --------
## Comment Files
# Class header comment filename
cmt_insert_class_header = "" # string
# File footer comment filename
cmt_insert_file_footer = "" # string
# File header comment filename
cmt_insert_file_header = "" # string
# Function header comment filename
cmt_insert_func_header = "" # string
# ObjC message header comment filename
cmt_insert_oc_msg_header = "" # string
## Empty Lines
# Empty first line for multi-line C comments
cmt_c_nl_start = false # boolean (false/true)
# Empty first line for multi-line C++ comments
cmt_cpp_nl_start = false # boolean (false/true)
# Empty last line for multi-line C comments
cmt_c_nl_end = false # boolean (false/true)
# Empty last line for multi-line C++ comments
cmt_cpp_nl_end = false # boolean (false/true)
## Other
# Change C++ comments to C comments
cmt_cpp_to_c = false # boolean (false/true)
# Comment reflow mode
cmt_reflow_mode = 0 # number
# Comment width
cmt_width = 0 # number
# Group C comments
cmt_c_group = true # boolean (false/true)
# Group C++ comments
cmt_cpp_group = true # boolean (false/true)
# Indent multi-line comments
cmt_indent_multi = true # boolean (false/true)
# Insert function comment if preprocessor statement
cmt_insert_before_preproc = false # boolean (false/true)
# Remove leading spaces from multi-line comments
cmt_multi_check_last = true # boolean (false/true)
# Stars on multi-line comments
cmt_star_cont = true # boolean (false/true)
## Space Count After
# Spaces after multi-line comment star
cmt_sp_after_star_cont = 0 # number
## Space Count Before
# Spaces before multi-line comment star
cmt_sp_before_star_cont = 0 # number
# General
# -------
## Other
# Input tab size
input_tab_size = 4 # number
# Interpret >=
tok_split_gte = false # boolean (false/true)
# Newline character
newlines = auto # string (auto/cr/crlf/lf)
# Output tab size
output_tab_size = 2 # number
# String escape character
string_escape_char = 92 # number
# String escape character 2
string_escape_char2 = 0 # number
# Indentation
# -----------
## Indentation
# Disable indenting class braces
indent_braces_no_class = false # boolean (false/true)
# Disable indenting function braces
indent_braces_no_func = false # boolean (false/true)
# Disable indenting struct braces
indent_braces_no_struct = false # boolean (false/true)
# Double indent size for Indentation options
indent_func_param_double = false # boolean (false/true)
# Indent ObjC block
indent_oc_block = true # boolean (false/true)
# Indent braces
indent_braces = false # boolean (false/true)
# Indent class body
indent_class = false # boolean (false/true)
# Indent class variable constructors
indent_func_ctor_var_param = false # boolean (false/true)
# Indent continued function call parameters
indent_func_call_param = false # boolean (false/true)
# Indent function call parameters in class declarations
indent_func_class_param = false # boolean (false/true)
# Indent function definition parameters
indent_func_def_param = false # boolean (false/true)
# Indent function prototype parameters
indent_func_proto_param = false # boolean (false/true)
# Indent template parameters
indent_template_param = false # boolean (false/true)
## Indentation Size
# Indent size based on brace parent
indent_brace_parent = false # boolean (false/true)
# Indentation column size
indent_columns = 2 # number
# Indentation size between case and switch
indent_switch_case = 2 # number
# Indentation size for ObjC blocks in a message parameter
indent_oc_block_msg = 0 # number
# Indentation size for ObjC message subsequent parameters
indent_oc_msg_colon = 4 # number
# Indentation size for multi-line XML strings
indent_xml_string = 0 # number
# Indentation size for namespace block
indent_namespace_level = 0 # number
# Indentation size for throw function declaration
indent_func_throw = 0 # number
# Indentation size of brace after case
indent_case_brace = 0 # number
# Indentation size of case
indent_case_shift = 0 # number
# Indentation size of single line comments
indent_sing_line_comments = 0 # number
## Limits
# Namespace indentation limit
indent_namespace_limit = 0 # number
## Other
# Align continued statements at equals
indent_align_assign = true # boolean (false/true)
# Align strings broken by backslash
indent_align_string = false # boolean (false/true)
# Brace indent level
indent_brace = 0 # number
# Continuation indent
indent_continue = -1 # number
# Force indentation of function definition to start in column 1
indent_func_def_force_col1 = false # boolean (false/true)
# Indent BOOL inside parentheses
indent_bool_paren = false # boolean (false/true)
# Indent access specifier
indent_access_spec = 1 # number
# Indent after class colon
indent_class_colon = false # boolean (false/true)
# Indent code after access specifier
indent_access_spec_body = false # boolean (false/true)
# Indent comma inside parentheses
indent_comma_paren = false # boolean (false/true)
# Indent comments in first column
indent_col1_comment = true # boolean (false/true)
# Indent comments with tabs
indent_cmt_with_tabs = false # boolean (false/true)
# Indent content after open square followed by newline
indent_square_nl = false # boolean (false/true)
# Indent continued member
indent_member = 0 # number
# Indent continued variable declarations
indent_var_def_cont = false # boolean (false/true)
# Indent else\nif
indent_else_if = false # boolean (false/true)
# Indent extern body
indent_extern = false # boolean (false/true)
# Indent goto labels
indent_label = 1 # number
# Indent namespace body
indent_namespace = false # boolean (false/true)
# Indent newline content after open parenthesis
indent_paren_nl = false # boolean (false/true)
# Indent relative single line comments
indent_relative_single_line_comments = false # boolean (false/true)
# Indent with tabs
indent_with_tabs = 0 # number
# Indentation for const qualifier
indent_func_const = 0 # number
# Indentation for constructor initializer list
indent_ctor_init = 0 # number
# Indentation of close parenthesis after newline
indent_paren_close = 2 # number
# Indentation of first BOOL expression
indent_first_bool_expr = false # boolean (false/true)
# Preserve SQL indentation
indent_preserve_sql = false # boolean (false/true)
# Variable declaration indentation after open brace
indent_var_def_blk = 0 # number
# Virtual indent from colon for member initializers
indent_ctor_init_leading = 2 # number
# Line-Splitting
# --------------
## Other
# Split lines as close to code width as possible
ls_code_width = false # boolean (false/true)
## Splitting
# Code width
code_width = 0 # number
# Split long for statements at semicolons
ls_for_split_full = false # boolean (false/true)
# Split long function prototypes/calls at commas
ls_func_split_full = false # boolean (false/true)
# Newlines
# --------
## Merging
# Change unbraced for statements into one-liner
nl_create_for_one_liner = false # boolean (false/true)
# Change unbraced if statements into one-liner
nl_create_if_one_liner = false # boolean (false/true)
# Change unbraced while statements into one-liner
nl_create_while_one_liner = false # boolean (false/true)
## Newline After
# Newline after brace close
nl_after_brace_close = false # boolean (false/true)
# Newline after brace open
nl_after_brace_open = false # boolean (false/true)
# Newline after brace open comment
nl_after_brace_open_cmt = false # boolean (false/true)
# Newline after case statement
nl_after_case = false # boolean (false/true)
# Newline after comma in constructor arguments
nl_class_init_args = ignore # string (add/force/ignore/remove)
# Newline after comma in function declaration
nl_func_decl_args = ignore # string (add/force/ignore/remove)
# Newline after comma in function definition
nl_func_def_args = ignore # string (add/force/ignore/remove)
# Newline after do
nl_after_do = ignore # string (add/force/ignore/remove)
# Newline after for
nl_after_for = ignore # string (add/force/ignore/remove)
# Newline after if
nl_after_if = ignore # string (add/force/ignore/remove)
# Newline after macro multi-line definition
nl_multi_line_define = false # boolean (false/true)
# Newline after open parenthesis in function declaration
nl_func_decl_start = remove # string (add/force/ignore/remove)
# Newline after open parenthesis in function declaration if single parameter
nl_func_decl_start_single = ignore # string (add/force/ignore/remove)
# Newline after open parenthesis in function definition
nl_func_def_start = ignore # string (add/force/ignore/remove)
# Newline after open parenthesis in function definition if single parameter
nl_func_def_start_single = ignore # string (add/force/ignore/remove)
# Newline after return
nl_after_return = false # boolean (false/true)
# Newline after semicolon
nl_after_semicolon = false # boolean (false/true)
# Newline after square assignment
nl_after_square_assign = ignore # string (add/force/ignore/remove)
# Newline after switch
nl_after_switch = ignore # string (add/force/ignore/remove)
# Newline after template
nl_template_class = add # string (add/force/ignore/remove)
# Newline after virtual brace close
nl_after_vbrace_close = false # boolean (false/true)
# Newline after virtual brace open
nl_after_vbrace_open = false # boolean (false/true)
# Newline after virtual brace open with empty body
nl_after_vbrace_open_empty = false # boolean (false/true)
# Newline after while
nl_after_while = ignore # string (add/force/ignore/remove)
## Newline Before
# Newline before case statement
nl_before_case = true # boolean (false/true)
# Newline before close parenthesis in function declaration
nl_func_decl_end = remove # string (add/force/ignore/remove)
# Newline before close parenthesis in function declaration if single parameter
nl_func_decl_end_single = ignore # string (add/force/ignore/remove)
# Newline before close parenthesis in function definition
nl_func_def_end = ignore # string (add/force/ignore/remove)
# Newline before close parenthesis in function definition if single parameter
nl_func_def_end_single = ignore # string (add/force/ignore/remove)
# Newline before do
nl_before_do = ignore # string (add/force/ignore/remove)
# Newline before for
nl_before_for = ignore # string (add/force/ignore/remove)
# Newline before if
nl_before_if = ignore # string (add/force/ignore/remove)
# Newline before return
nl_before_return = false # boolean (false/true)
# Newline before switch
nl_before_switch = ignore # string (add/force/ignore/remove)
# Newline before throw
nl_before_throw = ignore # string (add/force/ignore/remove)
# Newline before while
nl_before_while = ignore # string (add/force/ignore/remove)
## Newline Between
# Newline between C# property and open brace
nl_property_brace = ignore # string (add/force/ignore/remove)
# Newline between annotations
nl_between_annotation = ignore # string (add/force/ignore/remove)
# Newline between assignment and open brace
nl_assign_brace = remove # string (add/force/ignore/remove)
# Newline between brace and brace
nl_brace_brace = add # string (add/force/ignore/remove)
# Newline between case colon and open brace
nl_case_colon_brace = ignore # string (add/force/ignore/remove)
# Newline between catch and open brace
nl_catch_brace = add # string (add/force/ignore/remove)
# Newline between class and open brace
nl_class_brace = add # string (add/force/ignore/remove)
# Newline between close brace and catch
nl_brace_catch = add # string (add/force/ignore/remove)
# Newline between close brace and else
nl_brace_else = remove # string (add/force/ignore/remove)
# Newline between close brace and finally
nl_brace_finally = add # string (add/force/ignore/remove)
# Newline between close brace and variable in struct/enum/union
nl_brace_struct_var = ignore # string (add/force/ignore/remove)
# Newline between close brace and while
nl_brace_while = add # string (add/force/ignore/remove)
# Newline between close parenthesis and open brace in multi line conditional
nl_multi_line_cond = false # boolean (false/true)
# Newline between do and open brace
nl_do_brace = remove # string (add/force/ignore/remove)
# Newline between else and if
nl_else_if = remove # string (add/force/ignore/remove)
# Newline between else and open brace
nl_else_brace = remove # string (add/force/ignore/remove)
# Newline between else if and open brace
nl_elseif_brace = remove # string (add/force/ignore/remove)
# Newline between enum and open brace
nl_enum_brace = remove # string (add/force/ignore/remove)
# Newline between equals and square bracket
nl_assign_square = ignore # string (add/force/ignore/remove)
# Newline between finally and open brace
nl_finally_brace = force # string (add/force/ignore/remove)
# Newline between for and open brace
nl_for_brace = remove # string (add/force/ignore/remove)
# Newline between function call and open brace
nl_fcall_brace = add # string (add/force/ignore/remove)
# Newline between function name and open parenthesis
nl_func_paren = remove # string (add/force/ignore/remove)
# Newline between function name and open parenthesis in function definition
nl_func_def_paren = ignore # string (add/force/ignore/remove)
# Newline between function scope and name in definition
nl_func_scope_name = ignore # string (add/force/ignore/remove)
# Newline between function signature and open brace
nl_fdef_brace = remove # string (add/force/ignore/remove)
# Newline between get/set and open brace
nl_getset_brace = add # string (add/force/ignore/remove)
# Newline between if and open brace
nl_if_brace = remove # string (add/force/ignore/remove)
# Newline between namespace and open brace
nl_namespace_brace = add # string (add/force/ignore/remove)
# Newline between parentheses in empty function declaration
nl_func_decl_empty = ignore # string (add/force/ignore/remove)
# Newline between parentheses in function definition
nl_func_def_empty = ignore # string (add/force/ignore/remove)
# Newline between return and expression
nl_return_expr = remove # string (add/force/ignore/remove)
# Newline between return type and function name
nl_func_type_name = remove # string (add/force/ignore/remove)
# Newline between return type and function name in class
nl_func_type_name_class = ignore # string (add/force/ignore/remove)
# Newline between return type and function name in prototype
nl_func_proto_type_name = remove # string (add/force/ignore/remove)
# Newline between scope and open brace
nl_scope_brace = ignore # string (add/force/ignore/remove)
# Newline between struct and open brace
nl_struct_brace = remove # string (add/force/ignore/remove)
# Newline between switch and open brace
nl_switch_brace = remove # string (add/force/ignore/remove)
# Newline between try and open brace
nl_try_brace = remove # string (add/force/ignore/remove)
# Newline between union and open brace
nl_union_brace = add # string (add/force/ignore/remove)
# Newline between unittest and open brace
nl_unittest_brace = ignore # string (add/force/ignore/remove)
# Newline between using and open brace
nl_using_brace = add # string (add/force/ignore/remove)
# Newline between version and open brace
nl_version_brace = ignore # string (add/force/ignore/remove)
# Newline between while and open brace
nl_while_brace = remove # string (add/force/ignore/remove)
## Other
# Alter newlines in #define macros
nl_define_macro = false # boolean (false/true)
# Blank lines after preprocessor if/else
nl_squeeze_ifdef = false # boolean (false/true)
# Collapse empty blocks between braces
nl_collapse_empty_body = false # boolean (false/true)
# Don't split one-line ObjC messages
nl_oc_msg_leave_one_liner = false # boolean (false/true)
# Double space before close brace of struct/union/enum
nl_ds_struct_enum_close_brace = false # boolean (false/true)
# Double space commented entries in struct/enum
nl_ds_struct_enum_cmt = false # boolean (false/true)
# Newline around class colon
nl_class_colon = ignore # string (add/force/ignore/remove)
# Newline count at end of file
nl_end_of_file_min = 1 # number
# Newline minimum at start of file
nl_start_of_file_min = 0 # number
# Newline removal agressiveness
nl_remove_extra_newlines = 0 # number
# Newlines at end of file
nl_end_of_file = add # string (add/force/ignore/remove)
# Newlines at start of file
nl_start_of_file = remove # string (add/force/ignore/remove)
# Place ObjC message parameters on new lines
nl_oc_msg_args = false # boolean (false/true)
## Splitting
# Don’t split one-line braced assignments
nl_assign_leave_one_liners = false # boolean (false/true)
# Don’t split one-line braced statements
nl_class_leave_one_liners = false # boolean (false/true)
# Don’t split one-line enums
nl_enum_leave_one_liners = false # boolean (false/true)
# Don’t split one-line function definitions
nl_func_leave_one_liners = false # boolean (false/true)
# Don’t split one-line get/set functions
nl_getset_leave_one_liners = false # boolean (false/true)
# Don’t split one-line if/else statements
nl_if_leave_one_liners = false # boolean (false/true)
# Other
# -----
## Other
# Force encoding UTF-8
utf8_force = false # boolean (false/true)
# UTF-8 byte order mark
utf8_bom = ignore # string (add/force/ignore/remove)
# UTF-8 output if file contains bytes > 128 and < 255
utf8_byte = false # boolean (false/true)
# Positioning
# -----------
## Constructor
# Position of colon after constructor
pos_class_colon = ignore # string (ignore/lead/trail)
# Position of comma in constructor
pos_class_comma = ignore # string (ignore/lead/trail)
## Wrapped Expressions
# Position of arithmetic operators
pos_arith = ignore # string (ignore/lead/trail)
# Position of assignment operators
pos_assign = ignore # string (ignore/lead/trail)
# Position of boolean operators
pos_bool = ignore # string (ignore/lead/trail)
# Position of comma
pos_comma = ignore # string (ignore/lead/trail)
# Position of comparison operators
pos_compare = ignore # string (ignore/lead/trail)
# Position of ternary operators
pos_conditional = lead # string (ignore/lead/trail)
# Preprocessor
# ------------
## Indentation