Updated French translation (#4946)
[opentx.git] / tools / uncrustify.cfg
bloba8decbf480429d9fc653c1cb464e647329b893be
2 # K&R (sort-of)
5 indent_with_tabs                = 0             # 1=indent to level only, 2=indent with tabs
6 input_tab_size                  = 8             # original tab size
7 output_tab_size                 = 2             # new tab size
8 indent_columns                  = output_tab_size
9 indent_label                    = 2             # pos: absolute col, neg: relative column
11 nl_enum_brace                   = remove        # "enum {" vs "enum \n {"
12 nl_union_brace                  = remove        # "union {" vs "union \n {"
13 nl_struct_brace                 = remove        # "struct {" vs "struct \n {"
14 nl_do_brace                     = remove        # "do {" vs "do \n {"
15 nl_if_brace                     = remove        # "if () {" vs "if () \n {"
16 nl_for_brace                    = remove        # "for () {" vs "for () \n {"
17 nl_else_brace                   = remove        # "else {" vs "else \n {"
18 nl_while_brace                  = remove        # "while () {" vs "while () \n {"
19 nl_switch_brace                 = remove        # "switch () {" vs "switch () \n {"
20 nl_fcall_brace                  = add           # "foo() {" vs "foo()\n{"
21 nl_fdef_brace                   = add           # "int foo() {" vs "int foo()\n{"
22 nl_brace_while                  = remove
23 nl_brace_else                   = add 
24 nl_squeeze_ifdef                = true
26 mod_case_brace                  = remove
28 sp_before_semi                  = remove
29 sp_paren_paren                  = remove        # space between (( and ))
30 sp_return_paren                 = force         # "return (1);" vs "return(1);"
31 sp_sizeof_paren                 = remove        # "sizeof (int)" vs "sizeof(int)"
32 sp_before_sparen                = force         # "if (" vs "if("
33 sp_after_sparen                 = force         # "if () {" vs "if (){"
34 sp_after_cast                   = remove        # "(int) a" vs "(int)a"
35 sp_inside_braces                = force         # "{ 1 }" vs "{1}"
36 sp_inside_braces_struct         = force         # "{ 1 }" vs "{1}"
37 sp_inside_braces_enum           = force         # "{ 1 }" vs "{1}"
38 sp_inside_paren                 = remove        # "( 1 )" vs "(1)"
39 sp_inside_fparen                = remove        # "( 1 )" vs "(1)" - functions
40 sp_inside_sparen                = remove        # "( 1 )" vs "(1)" - if/for/etc
41 sp_assign                       = force
42 sp_assign_default               = remove
43 sp_arith                        = force
44 sp_bool                         = force
45 sp_compare                      = force
46 sp_after_comma                  = force
47 sp_after_ptr_star               = force
48 sp_before_ptr_star              = force
49 sp_before_byref                 = force
50 sp_after_byref                  = force
51 sp_func_def_paren               = remove        # "int foo (){" vs "int foo(){"
52 sp_func_call_paren              = remove        # "foo (" vs "foo("
53 sp_func_proto_paren             = remove        # "int foo ();" vs "int foo();"
54 sp_func_class_paren             = remove
55 sp_inside_angle                 = remove
56 sp_before_angle                 = remove
57 sp_after_angle                  = force
59 indent_class                    = true
60 indent_access_spec_body         = true
61 indent_switch_case              = 2
63 eat_blanks_before_close_brace   = true
64 eat_blanks_after_open_brace     = true
66 pp_indent                       = remove
67 pp_indent_at_level              = false
68 pp_indent_count                 = 2
69 # pp_indent_if                  = 2
70 # pp_if_indent_code             = false
71 # pp_define_at_level            = true
73 set FOR foreach