Changeset 6794 for trunk/uncrustify.cfg


Ignore:
Timestamp:
Sep 21, 2008, 10:40:12 PM (13 years ago)
Author:
charles
Message:

unless muks screams too loudly, this will probably be the scheme for code formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/uncrustify.cfg

    r6793 r6794  
    9494#  to the code instead of trying to keep the same absolute column
    9595
    96 indent_switch_case                       1 # Number
     96indent_switch_case                       4 # Number
    9797#  Spaces to indent 'case' from 'switch'
    9898#  Usually 0 or indent_columns.
     
    387387#  Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'
    388388
    389 sp_after_oc_scope                        { Ignore, Add, Remove, Force }
    390   Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
    391 
    392 sp_before_oc_colon                       { Ignore, Add, Remove, Force }
    393   Add or remove space after the colon in message specs
    394   '-(int) f: (int) x;' vs '+(int) f : (int) x;'
    395 
    396 sp_after_oc_type                         { Ignore, Add, Remove, Force }
    397   Add or remove space after the (type) in message specs
    398   '-(int) f: (int) x;' vs '+(int)f : (int)x;'
     389#sp_after_oc_scope                        { Ignore, Add, Remove, Force }
     390#  Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
     391#
     392#sp_before_oc_colon                       { Ignore, Add, Remove, Force }
     393#  Add or remove space after the colon in message specs
     394#  '-(int) f: (int) x;' vs '+(int) f : (int) x;'
     395#
     396#sp_after_oc_type                         { Ignore, Add, Remove, Force }
     397#  Add or remove space after the (type) in message specs
     398#  '-(int) f: (int) x;' vs '+(int)f : (int)x;'
    399399
    400400#
     
    417417#  Align variable definitions in prototypes and functions
    418418
    419 align_var_def_span                       0 # Number
     419align_var_def_span                       10 # Number
    420420#  The span for aligning variable definitions (0=don't align)
    421421
    422 #align_var_def_star_style                 0 # Number
     422align_var_def_star_style                 0 # Number
    423423#  How to align the star in variable definitions.
    424424#   0=Part of the type
     
    426426#   2=Dangling
    427427#
    428 #align_var_def_amp_style                  0 # Number
     428align_var_def_amp_style                  0 # Number
    429429#  How to align the '&' in variable definitions.
    430430#   0=Part of the type
     
    438438#  The gap for aligning variable definitions
    439439#
    440 #align_var_def_colon                      True # { False, True }
     440align_var_def_colon                      True # { False, True }
    441441#  Whether to align the colon in struct bit fields
    442442#
     
    450450#  The threshold for aligning on '=' in assignments (0=no limit)
    451451
    452 align_enum_equ_span                      10 # Number
     452align_enum_equ_span                      0 # Number
    453453#  The span for aligning on '=' in enums (0=don't align)
    454454
     
    456456#  The threshold for aligning on '=' in enums (0=no limit)
    457457
    458 align_var_struct_span                    0 # Number
     458align_var_struct_span                    2 # Number
    459459#  The span for aligning struct/union (0=don't align)
    460460
    461 align_var_struct_thresh                  Number
     461align_var_struct_thresh                  50 # Number
    462462#  The threshold for aligning struct/union member definitions (0=no limit)
    463463
    464 align_var_struct_gap                     Number
     464align_var_struct_gap                     4 # Number
    465465#  The gap for aligning struct/union member definitions
    466466
    467 align_struct_init_span                   Number
     467align_struct_init_span                   4
    468468#  The span for aligning struct initializer values (0=don't align)
    469469
    470 align_typedef_gap                        Number
     470#align_typedef_gap                        Number
    471471#  The minimum space between the type and the synonym of a typedef
    472472
    473 align_typedef_span                       Number
     473#align_typedef_span                       Number
    474474#  The span for aligning single-line typedefs (0=don't align)
    475475
     
    536536#
    537537
    538 nl_collapse_empty_body                   { False, True }
    539   Whether to collapse empty blocks between '{' and '}'
    540 
    541 nl_assign_leave_one_liners               { False, True }
    542   Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
    543 
    544 nl_class_leave_one_liners                { False, True }
    545   Don't split one-line braced statements inside a class xx { } body
    546 
    547 nl_enum_leave_one_liners                 { False, True }
    548   Don't split one-line enums: 'enum foo { BAR = 15 };'
    549 
    550 nl_getset_leave_one_liners               { False, True }
    551   Don't split one-line get or set functions
    552 
    553 nl_func_leave_one_liners                 { False, True }
    554   Don't split one-line function definitions - 'int foo() { return 0; }'
    555 
    556 nl_if_leave_one_liners                   { False, True }
    557   Don't split one-line if/else statements - 'if(a) b++;'
    558 
    559 nl_start_of_file                         Remvoe # { Ignore, Add, Remove, Force }
     538nl_collapse_empty_body                   True # { False, True }
     539#  Whether to collapse empty blocks between '{' and '}'
     540
     541nl_assign_leave_one_liners               True # { False, True }
     542#  Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
     543
     544#nl_class_leave_one_liners                { False, True }
     545#  Don't split one-line braced statements inside a class xx { } body
     546
     547nl_enum_leave_one_liners                 True # { False, True }
     548#  Don't split one-line enums: 'enum foo { BAR = 15 };'
     549
     550nl_getset_leave_one_liners               True # { False, True }
     551#  Don't split one-line get or set functions
     552
     553nl_func_leave_one_liners                 True # { False, True }
     554#  Don't split one-line function definitions - 'int foo() { return 0; }'
     555
     556nl_if_leave_one_liners                   True # { False, True }
     557#  Don't split one-line if/else statements - 'if(a) b++;'
     558
     559nl_start_of_file                         Remove # { Ignore, Add, Remove, Force }
    560560#  Add or remove newlines at the start of the file
    561561
     
    578578#  Add or remove newline after '= [' (D only). Will also affect the newline before the ']'
    579579
    580 nl_func_var_def_blk                      Number
    581   The number of newlines after a block of variable definitions
     580nl_func_var_def_blk                      1 # Number
     581#  The number of newlines after a block of variable definitions
    582582
    583583#nl_fcall_brace                           { Ignore, Add, Remove, Force }
     
    585585#  list_for_each(item, &list) { }
    586586
    587 nl_enum_brace                            Add # { Ignore, Add, Remove, Force }
     587nl_enum_brace                            Force # { Ignore, Add, Remove, Force }
    588588#  Add or remove newline between 'enum' and '{'
    589589
    590 nl_struct_brace                          Add # { Ignore, Add, Remove, Force }
     590nl_struct_brace                          Force # { Ignore, Add, Remove, Force }
    591591#  Add or remove newline between 'struct and '{'
    592592
    593 nl_union_brace                           Add # { Ignore, Add, Remove, Force }
     593nl_union_brace                           Force # { Ignore, Add, Remove, Force }
    594594#  Add or remove newline between 'union' and '{'
    595595
    596 nl_if_brace                              Add # { Ignore, Add, Remove, Force }
     596nl_if_brace                              Force # { Ignore, Add, Remove, Force }
    597597#  Add or remove newline between 'if' and '{'
    598598
    599 nl_brace_else                            Add # { Ignore, Add, Remove, Force }
     599nl_brace_else                            Force # { Ignore, Add, Remove, Force }
    600600#  Add or remove newline between '}' and 'else'
    601601
    602 nl_elseif_brace                          { Ignore, Add, Remove, Force }
    603   Add or remove newline between 'else if' and '{'
    604   If set to ignore, nl_if_brace is used instead
     602nl_elseif_brace                          Force # { Ignore, Add, Remove, Force }
     603#  Add or remove newline between 'else if' and '{'
     604#  If set to ignore, nl_if_brace is used instead
    605605
    606606nl_else_brace                            Add # { Ignore, Add, Remove, Force }
     
    628628#  Add or remove newline between '}' and 'catch'
    629629
    630 nl_while_brace                           { Ignore, Add, Remove, Force }
    631   Add or remove newline between 'while' and '{'
    632 
    633 nl_do_brace                              { Ignore, Add, Remove, Force }
    634   Add or remove newline between 'do' and '{'
    635 
    636 nl_brace_while                           { Ignore, Add, Remove, Force }
    637   Add or remove newline between '}' and 'while' of 'do' statement
    638 
    639 nl_switch_brace                          Add { Ignore, Add, Remove, Force }
     630nl_while_brace                           Force # { Ignore, Add, Remove, Force }
     631#  Add or remove newline between 'while' and '{'
     632
     633nl_do_brace                              Force # { Ignore, Add, Remove, Force }
     634#  Add or remove newline between 'do' and '{'
     635
     636nl_brace_while                           Force # { Ignore, Add, Remove, Force }
     637#  Add or remove newline between '}' and 'while' of 'do' statement
     638
     639nl_switch_brace                          Force { Ignore, Add, Remove, Force }
    640640#  Add or remove newline between 'switch' and '{'
    641641
    642 nl_multi_line_cond                       { False, True }
    643   Add or remove newline when condition spans two or more lines
    644 
    645 nl_multi_line_define                     { False, True }
    646   Force a newline in a define after the macro name for multi-line defines.
    647 
    648 nl_before_case                           { False, True }
    649   Whether to put a newline before 'case' statement
    650 
    651 nl_before_throw                          { Ignore, Add, Remove, Force }
    652   Add or remove newline between ')' and 'throw'
    653 
    654 nl_after_case                            { False, True }
    655   Whether to put a newline after 'case' statement
     642#nl_multi_line_cond                       { False, True }
     643#  Add or remove newline when condition spans two or more lines
     644
     645nl_multi_line_define                     True # { False, True }
     646#  Force a newline in a define after the macro name for multi-line defines.
     647
     648nl_before_case                           True # { False, True }
     649#  Whether to put a newline before 'case' statement
     650
     651#nl_before_throw                          { Ignore, Add, Remove, Force }
     652#  Add or remove newline between ')' and 'throw'
     653
     654nl_after_case                            True # { False, True }
     655#  Whether to put a newline after 'case' statement
    656656
    657657#nl_namespace_brace                       { Ignore, Add, Remove, Force }
     
    679679#  Add or remove newline after '(' in a function declaration
    680680
    681 nl_func_decl_args                        Add # { Ignore, Add, Remove, Force }
     681nl_func_decl_args                        Force # { Ignore, Add, Remove, Force }
    682682#  Add or remove newline after each ',' in a function declaration
    683683
     
    685685#  Add or remove newline before the ')' in a function declaration
    686686
    687 nl_fdef_brace                            Add # { Ignore, Add, Remove, Force }
     687nl_fdef_brace                            Force # { Ignore, Add, Remove, Force }
    688688#  Add or remove newline between function signature and '{'
    689689
    690 nl_after_return                          False; { False, True }
     690nl_after_return                          False # { False, True }
    691691#  Whether to put a newline after 'return' statement
    692692
     
    702702#  placed between the open brace and a trailing single-line comment.
    703703
    704 nl_after_vbrace_open                     { False, True }
    705   Whether to put a newline after a virtual brace open.
    706   These occur in un-braced if/while/do/for statement bodies.
     704#nl_after_vbrace_open                     { False, True }
     705#  Whether to put a newline after a virtual brace open.
     706#  These occur in un-braced if/while/do/for statement bodies.
    707707
    708708nl_define_macro                          False # { False, True }
    709709#  Whether to alter newlines in '#define' macros
    710710
    711 nl_squeeze_ifdef                         { False, True }
    712   Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
    713 
    714 nl_before_if                             { Ignore, Add, Remove, Force }
    715   Add or remove newline before 'if'
    716 
    717 nl_after_if                              { Ignore, Add, Remove, Force }
    718   Add or remove newline after 'if'
    719 
    720 nl_before_for                            { Ignore, Add, Remove, Force }
    721   Add or remove newline before 'for'
    722 
    723 nl_after_for                             { Ignore, Add, Remove, Force }
    724   Add or remove newline after 'for'
    725 
    726 nl_before_while                          { Ignore, Add, Remove, Force }
    727   Add or remove newline before 'while'
     711#nl_squeeze_ifdef                         { False, True }
     712#  Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
     713
     714nl_before_if                             Ignore # { Ignore, Add, Remove, Force }
     715#  Add or remove newline before 'if'
     716
     717nl_after_if                              Ignore # { Ignore, Add, Remove, Force }
     718#  Add or remove newline after 'if'
     719
     720nl_before_for                            Ignore # { Ignore, Add, Remove, Force }
     721#  Add or remove newline before 'for'
     722
     723nl_after_for                             Ignore # { Ignore, Add, Remove, Force }
     724#  Add or remove newline after 'for'
     725
     726nl_before_while                          Ignore # { Ignore, Add, Remove, Force }
     727#  Add or remove newline before 'while'
    728728
    729729nl_after_while                           Add # { Ignore, Add, Remove, Force }
    730   Add or remove newline after 'while'
     730#  Add or remove newline after 'while'
    731731
    732732#nl_before_switch                         Ignore # { Ignore, Add, Remove, Force }
     
    737737
    738738nl_before_do                             Ignore # { Ignore, Add, Remove, Force }
    739   Add or remove newline before 'do'
     739#  Add or remove newline before 'do'
    740740
    741741nl_after_do                              Force # { Ignore, Add, Remove, Force }
    742   Add or remove newline after 'do'
     742#  Add or remove newline after 'do'
    743743
    744744nl_ds_struct_enum_cmt                    False # { False, True }
    745   Whether to double-space commented-entries in struct/enum
     745#  Whether to double-space commented-entries in struct/enum
    746746
    747747nl_ds_struct_enum_close_brace            False # { False, True }
    748   Whether to double-space before the close brace of a struct/union/enum
     748#  Whether to double-space before the close brace of a struct/union/enum
    749749
    750750#nl_class_colon                           Ignore # { Ignore, Add, Remove, Force }
     
    769769
    770770pos_bool                                 Lead # { Ignore, Lead, Trail }
    771   The position of boolean operators in wrapped expressions
     771#  The position of boolean operators in wrapped expressions
    772772
    773773#pos_comma                                { Ignore, Lead, Trail }
    774   The position of the comma in wrapped expressions
     774#  The position of the comma in wrapped expressions
    775775
    776776#pos_class_comma                          { Ignore, Lead, Trail }
    777   The position of the comma in the constructor initialization list
    778 
     777#  The position of the comma in the constructor initialization list
     778#
    779779#pos_class_colon                          { Ignore, Lead, Trail }
    780   The position of colons between constructor and member initialization
     780#  The position of colons between constructor and member initialization
    781781
    782782#
     
    785785
    786786code_width                               76 # Number
    787   Try to limit code width to N number of columns
     787#  Try to limit code width to N number of columns
    788788
    789789ls_for_split_full                        False # { False, True }
    790   Whether to fully split long 'for' statements at semi-colons
     790#  Whether to fully split long 'for' statements at semi-colons
    791791
    792792ls_func_split_full                       False # { False, True }
    793   Whether to fully split long function protos/calls at commas
     793#  Whether to fully split long function protos/calls at commas
    794794
    795795#
     
    798798
    799799nl_max                                   3 # Number
    800   The maximum consecutive newlines
     800#  The maximum consecutive newlines
    801801
    802802nl_after_func_proto                      2 # Number
    803   The number of newlines after a function prototype, if followed by another function prototype
     803#  The number of newlines after a function prototype, if followed by another function prototype
    804804
    805805nl_after_func_proto_group                2 # Number
    806   The number of newlines after a function prototype, if not followed by another function prototype
     806#  The number of newlines after a function prototype, if not followed by another function prototype
    807807
    808808nl_after_func_body                       2 # Number
    809   The number of newlines after '}' of a multi-line function body
     809#  The number of newlines after '}' of a multi-line function body
    810810
    811811nl_after_func_body_one_liner             1 # Number
    812   The number of newlines after '}' of a single line function body
     812#  The number of newlines after '}' of a single line function body
    813813
    814814nl_before_block_comment                  0 # Number
    815   The minimum number of newlines before a multi-line comment.
    816   Doesn't apply if after a brace open or another multi-line comment.
     815#  The minimum number of newlines before a multi-line comment.
     816#  Doesn't apply if after a brace open or another multi-line comment.
    817817
    818818nl_before_c_comment                      0 # Number
    819   The minimum number of newlines before a single-line C comment.
    820   Doesn't apply if after a brace open or other single-line C comments.
     819#  The minimum number of newlines before a single-line C comment.
     820#  Doesn't apply if after a brace open or other single-line C comments.
    821821
    822822nl_before_cpp_comment                    0 # Number
    823   The minimum number of newlines before a CPP comment.
    824   Doesn't apply if after a brace open or other CPP comments.
     823#  The minimum number of newlines before a CPP comment.
     824#  Doesn't apply if after a brace open or other CPP comments.
    825825
    826826nl_after_multiline_comment               True # { False, True }
    827   Whether to force a newline after a mulit-line comment.
    828 
    829 nl_before_access_spec                    1 # Number
    830   The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
    831   Will not change the newline count if after a brace open.
    832   0 = No change.
    833 
    834 nl_after_access_spec                     1 # Number
    835   The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
    836   0 = No change.
     827#  Whether to force a newline after a multi-line comment.
     828
     829#nl_before_access_spec                    1 # Number
     830#  The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
     831#  Will not change the newline count if after a brace open.
     832#  0 = No change.
     833#
     834#nl_after_access_spec                     1 # Number
     835#  The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
     836#  0 = No change.
    837837
    838838eat_blanks_after_open_brace              True # { False, True }
    839   Whether to remove blank lines after '{'
     839#  Whether to remove blank lines after '{'
    840840
    841841eat_blanks_before_close_brace            True # { False, True }
    842   Whether to remove blank lines before '}'
     842#  Whether to remove blank lines before '}'
    843843
    844844#
     
    846846#
    847847
    848 mod_full_brace_do                        { Ignore, Add, Remove, Force }
    849   Add or remove braces on single-line 'do' statement
    850 
    851 mod_full_brace_for                       { Ignore, Add, Remove, Force }
    852   Add or remove braces on single-line 'for' statement
    853 
    854 mod_full_brace_function                  { Ignore, Add, Remove, Force }
    855   Add or remove braces on single-line function defintions. (Pawn)
    856 
    857 mod_full_brace_if                        { Ignore, Add, Remove, Force }
    858   Add or remove braces on single-line 'if' statement
    859 
    860 #mod_full_brace_nl                        Number
     848mod_full_brace_do                        Ignore # { Ignore, Add, Remove, Force }
     849#  Add or remove braces on single-line 'do' statement
     850
     851mod_full_brace_for                       Ignore # { Ignore, Add, Remove, Force }
     852#  Add or remove braces on single-line 'for' statement
     853
     854# mod_full_brace_function                  { Ignore, Add, Remove, Force }
     855#  Add or remove braces on single-line function defintions. (Pawn)
     856
     857mod_full_brace_if                        Ignore # { Ignore, Add, Remove, Force }
     858#  Add or remove braces on single-line 'if' statement
     859
     860#mod_full_brace_nl                        2
    861861#  Don't remove braces around statements that span N newlines
    862862
    863 mod_full_brace_while                     { Ignore, Add, Remove, Force }
    864   Add or remove braces on single-line 'while' statement
    865 
    866 mod_paren_on_return                      { Ignore, Add, Remove, Force }
    867   Add or remove unnecessary paren on 'return' statement
    868 
    869 mod_pawn_semicolon                       { False, True }
    870   Whether to change optional semicolons to real semicolons
    871 
    872 mod_full_paren_if_bool                   { False, True }
    873   Add parens on 'while' and 'if' statement around bools
    874 
    875 mod_remove_extra_semicolon               { False, True }
    876   Whether to remove superfluous semicolons
    877 
    878 mod_add_long_function_closebrace_comment Number
    879   If a function body exceeds the specified number of newlines and doesn't have a comment after
    880   the close brace, a comment will be added.
    881 
    882 mod_add_long_switch_closebrace_comment   Number
    883   If a switch body exceeds the specified number of newlines and doesn't have a comment after
    884   the close brace, a comment will be added.
    885 
    886 mod_sort_import                          { False, True }
    887   If TRUE, will sort consecutive single-line 'import' statements [Java, D]
    888 
    889 mod_sort_using                           { False, True }
    890   If TRUE, will sort consecutive single-line 'using' statements [C#]
    891 
    892 mod_sort_include                         { False, True }
    893   If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
    894   This is generally a bad idea, as it may break your code.
    895 
    896 mod_move_case_break                      { False, True }
    897   If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
     863mod_full_brace_while                     Ignore # { Ignore, Add, Remove, Force }
     864#  Add or remove braces on single-line 'while' statement
     865
     866mod_paren_on_return                      Remove # { Ignore, Add, Remove, Force }
     867#  Add or remove unnecessary paren on 'return' statement
     868
     869#mod_pawn_semicolon                       { False, True }
     870#  Whether to change optional semicolons to real semicolons
     871
     872mod_full_paren_if_bool                   False # { False, True }
     873#  Add parens on 'while' and 'if' statement around bools
     874
     875mod_remove_extra_semicolon               True # { False, True }
     876#  Whether to remove superfluous semicolons
     877
     878#mod_add_long_function_closebrace_comment Number
     879#  If a function body exceeds the specified number of newlines and doesn't have a comment after
     880#  the close brace, a comment will be added.
     881
     882#mod_add_long_switch_closebrace_comment   Number
     883#  If a switch body exceeds the specified number of newlines and doesn't have a comment after
     884#  the close brace, a comment will be added.
     885
     886#mod_sort_import                          { False, True }
     887#  If TRUE, will sort consecutive single-line 'import' statements [Java, D]
     888#
     889#mod_sort_using                           { False, True }
     890#  If TRUE, will sort consecutive single-line 'using' statements [C#]
     891
     892mod_sort_include                         False # { False, True }
     893#  If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
     894#  This is generally a bad idea, as it may break your code.
     895
     896#mod_move_case_break                      { False, True }
     897#  If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
    898898
    899899#
     
    904904#  Try to wrap comments at cmt_width columns
    905905
    906 cmt_indent_multi                         False # { False, True }
     906#cmt_indent_multi                         False # { False, True }
    907907#  Whether to mess with the indent of multi-line comments
    908908
    909 cmt_c_group                              True # { False, True }
     909#cmt_c_group                              True # { False, True }
    910910#  Whether to group c-comments that look like they are in a block
    911911
    912 cmt_c_nl_start                           False # { False, True }
     912#cmt_c_nl_start                           False # { False, True }
    913913#  Whether to put an empty '/*' on the first line of the combined c-comment
    914914
    915 cmt_c_nl_end                             False # { False, True }
     915#cmt_c_nl_end                             False # { False, True }
    916916#  Whether to put a newline before the closing '*/' of the combined c-comment
    917917
    918 cmt_cpp_group                            True # { False, True }
     918#cmt_cpp_group                            True # { False, True }
    919919#  Whether to group cpp-comments that look like they are in a block
    920920
    921 cmt_cpp_nl_start                         False # { False, True }
     921#cmt_cpp_nl_start                         False # { False, True }
    922922#  Whether to put an empty '/*' on the first line of the combined cpp-comment
    923923
    924 cmt_cpp_nl_end                           False # { False, True }
     924#cmt_cpp_nl_end                           False # { False, True }
    925925#  Whether to put a newline before the closing '*/' of the combined cpp-comment
    926926
     
    928928#  Whether to change cpp-comments into c-comments
    929929
    930 #cmt_star_cont                            True # { False, True }
     930#cmt_star_cont                            False # { False, True }
    931931#  Whether to put a star on subsequent comment lines
    932932#
     
    954954#
    955955
    956 pp_indent                                Ignore # { Ignore, Add, Remove, Force }
     956pp_indent                                Add # { Ignore, Add, Remove, Force }
    957957#  Control indent of preprocessors inside #if blocks at brace level 0
    958 
    959 pp_indent_at_level                       False # { False, True }
     958#
     959pp_indent_at_level                       True # { False, True }
    960960#  Whether to indent #if/#else/#endif at the brace level (true) or from column 1 (false)
    961 
    962 pp_space                                 Ignore # { Ignore, Add, Remove, Force }
    963 #  Add or remove space after # based on pp_level of #if blocks
    964 
    965 pp_space_count                           Number
    966 #  Sets the number of spaces added with pp_space
    967 
    968 pp_indent_region                         Number
     961#
     962pp_space                                 Remove # { Ignore, Add, Remove, Force }
     963##  Add or remove space after # based on pp_level of #if blocks
     964#
     965#pp_space_count                           4
     966##  Sets the number of spaces added with pp_space
     967#
     968pp_indent_region                         4
    969969#  The indent for #region and #endregion in C# and '#pragma region' in C/C++
    970 
    971 pp_region_indent_code                    True # { False, True }
     970#
     971#pp_region_indent_code                    True # { False, True }
    972972#  Whether to indent the code between #region and #endregion
    973 
    974 #pp_indent_if                             1 # Number
     973#
     974#pp_indent_if                             4 # Number
    975975#  If pp_indent_at_level=true, sets the indent for #if, #else, and #endif when not at file-level
    976 
    977 pp_if_indent_code                        True # { False, True }
     976#
     977#pp_if_indent_code                        True # { False, True }
    978978#  Control whether to indent the code between #if, #else and #endif when not at file-level
    979 
    980 pp_define_at_level                       False # { False, True }
     979#
     980#pp_define_at_level                       False # { False, True }
    981981#  Whether to indent '#define' at the brace level (true) or from column 1 (false)
    982982
Note: See TracChangeset for help on using the changeset viewer.