.editorconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Eine von Visual Studio generierte .editorconfig-Datei mit C++-Einstellungen.
  2. root = true
  3. [*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]
  4. # Visual C++-Codeformateinstellungen
  5. cpp_generate_documentation_comments = xml
  6. # Visual C++-Formatierungseinstellungen
  7. cpp_indent_braces = false
  8. cpp_indent_multi_line_relative_to = innermost_parenthesis
  9. cpp_indent_within_parentheses = indent
  10. cpp_indent_preserve_within_parentheses = true
  11. cpp_indent_case_contents = true
  12. cpp_indent_case_labels = false
  13. cpp_indent_case_contents_when_block = false
  14. cpp_indent_lambda_braces_when_parameter = true
  15. cpp_indent_goto_labels = one_left
  16. cpp_indent_preprocessor = leftmost_column
  17. cpp_indent_access_specifiers = false
  18. cpp_indent_namespace_contents = true
  19. cpp_indent_preserve_comments = false
  20. cpp_new_line_before_open_brace_namespace = new_line
  21. cpp_new_line_before_open_brace_type = new_line
  22. cpp_new_line_before_open_brace_function = new_line
  23. cpp_new_line_before_open_brace_block = new_line
  24. cpp_new_line_before_open_brace_lambda = new_line
  25. cpp_new_line_scope_braces_on_separate_lines = true
  26. cpp_new_line_close_brace_same_line_empty_type = true
  27. cpp_new_line_close_brace_same_line_empty_function = true
  28. cpp_new_line_before_catch = true
  29. cpp_new_line_before_else = true
  30. cpp_new_line_before_while_in_do_while = false
  31. cpp_space_before_function_open_parenthesis = remove
  32. cpp_space_within_parameter_list_parentheses = false
  33. cpp_space_between_empty_parameter_list_parentheses = false
  34. cpp_space_after_keywords_in_control_flow_statements = true
  35. cpp_space_within_control_flow_statement_parentheses = false
  36. cpp_space_before_lambda_open_parenthesis = false
  37. cpp_space_within_cast_parentheses = false
  38. cpp_space_after_cast_close_parenthesis = false
  39. cpp_space_within_expression_parentheses = false
  40. cpp_space_before_block_open_brace = true
  41. cpp_space_between_empty_braces = false
  42. cpp_space_before_initializer_list_open_brace = false
  43. cpp_space_within_initializer_list_braces = true
  44. cpp_space_preserve_in_initializer_list = true
  45. cpp_space_before_open_square_bracket = false
  46. cpp_space_within_square_brackets = false
  47. cpp_space_before_empty_square_brackets = false
  48. cpp_space_between_empty_square_brackets = false
  49. cpp_space_group_square_brackets = true
  50. cpp_space_within_lambda_brackets = false
  51. cpp_space_between_empty_lambda_brackets = false
  52. cpp_space_before_comma = false
  53. cpp_space_after_comma = true
  54. cpp_space_remove_around_member_operators = true
  55. cpp_space_before_inheritance_colon = true
  56. cpp_space_before_constructor_colon = true
  57. cpp_space_remove_before_semicolon = true
  58. cpp_space_after_semicolon = true
  59. cpp_space_remove_around_unary_operator = true
  60. cpp_space_around_binary_operator = insert
  61. cpp_space_around_assignment_operator = insert
  62. cpp_space_pointer_reference_alignment = left
  63. cpp_space_around_ternary_operator = insert
  64. cpp_wrap_preserve_blocks = one_liners