uncrustify.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #
  2. # Uncrustify Configuration File
  3. # File Created With UncrustifyX 0.4.3 (252)
  4. #
  5. align_assign_span = 1
  6. cmt_cpp_to_c = false
  7. cmt_indent_multi = false
  8. cmt_insert_file_header = "./header.h"
  9. cmt_reflow_mode = 1
  10. cmt_sp_after_star_cont = 1
  11. cmt_sp_before_star_cont = 1
  12. cmt_star_cont = true
  13. eat_blanks_after_open_brace = false
  14. eat_blanks_before_close_brace = false
  15. indent_align_assign = false
  16. indent_case_brace = 0
  17. indent_columns = 2
  18. indent_cpp_lambda_body = false
  19. indent_func_call_param = true
  20. indent_func_def_param = true
  21. indent_switch_case = 2
  22. indent_with_tabs = 0
  23. input_tab_size = 2
  24. mod_add_long_ifdef_else_comment = 40
  25. mod_add_long_ifdef_endif_comment = 40
  26. mod_full_brace_do = false
  27. mod_full_brace_for = false
  28. mod_full_brace_if = false
  29. mod_full_brace_if_chain = true
  30. mod_full_brace_while = false
  31. mod_remove_extra_semicolon = true
  32. newlines = lf
  33. nl_after_brace_close = true
  34. nl_after_brace_open = true
  35. nl_assign_leave_one_liners = true
  36. nl_brace_else = add
  37. nl_class_leave_one_liners = true
  38. nl_create_for_one_liner = true
  39. nl_create_if_one_liner = false
  40. nl_create_while_one_liner = true
  41. nl_else_brace = remove
  42. nl_end_of_file = add
  43. nl_enum_brace = remove
  44. nl_enum_leave_one_liners = true
  45. nl_fdef_brace = remove
  46. nl_for_brace = remove
  47. nl_func_leave_one_liners = true
  48. nl_getset_leave_one_liners = true
  49. nl_if_brace = remove
  50. nl_if_leave_one_liners = true
  51. nl_multi_line_sparen_close = add
  52. nl_squeeze_ifdef = false
  53. nl_struct_brace = remove
  54. nl_switch_brace = remove
  55. nl_union_brace = remove
  56. pp_define_at_level = true
  57. pp_if_indent_code = true
  58. pp_indent = add
  59. pp_indent_at_level = true
  60. pp_indent_count = 2
  61. pp_indent_if = 0
  62. sp_after_comma = add
  63. sp_after_semi = add
  64. sp_after_sparen = add
  65. sp_arith = add
  66. sp_assign = add
  67. sp_assign_default = remove
  68. sp_before_comma = remove
  69. sp_before_sparen = add
  70. sp_bool = add
  71. sp_brace_else = add
  72. sp_cmt_cpp_start = add
  73. sp_compare = add
  74. sp_cond_colon = add
  75. sp_cond_question = add
  76. sp_else_brace = add
  77. sp_endif_cmt = true
  78. sp_fparen_brace = add
  79. sp_func_call_paren = remove
  80. sp_func_proto_paren = remove
  81. sp_inside_sparen = remove
  82. sp_inside_square = remove
  83. sp_paren_brace = add
  84. sp_paren_paren = remove