.editorconfig 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # Do not check parent dirs for .editorconfig
  2. root = true
  3. [Makefile{,.in,.am}]
  4. indent_style = tab
  5. charset = latin1
  6. insert_final_newline = true
  7. [*.{c,h}]
  8. indent_style = space
  9. charset = utf-8
  10. insert_final_newline = true
  11. indent_size = 2
  12. tab_width = 4
  13. trim_trailing_whitespace = true
  14. max_line_length = 80
  15. # Visual C++ Code Style settings
  16. cpp_generate_documentation_comments = doxygen_slash_star
  17. # Visual C++ Formatting settings
  18. cpp_indent_braces = false
  19. cpp_indent_multi_line_relative_to = innermost_parenthesis
  20. cpp_indent_within_parentheses = align_to_parenthesis
  21. cpp_indent_preserve_within_parentheses = true
  22. cpp_indent_case_contents = true
  23. cpp_indent_case_labels = false
  24. cpp_indent_case_contents_when_block = true
  25. cpp_indent_lambda_braces_when_parameter = true
  26. cpp_indent_goto_labels = leftmost_column
  27. cpp_indent_preprocessor = leftmost_column
  28. cpp_indent_access_specifiers = false
  29. cpp_indent_namespace_contents = false
  30. cpp_indent_preserve_comments = true
  31. cpp_new_line_before_open_brace_namespace = new_line
  32. cpp_new_line_before_open_brace_type = new_line
  33. cpp_new_line_before_open_brace_function = new_line
  34. cpp_new_line_before_open_brace_block = new_line
  35. cpp_new_line_before_open_brace_lambda = ignore
  36. cpp_new_line_scope_braces_on_separate_lines = true
  37. cpp_new_line_close_brace_same_line_empty_type = false
  38. cpp_new_line_close_brace_same_line_empty_function = false
  39. cpp_new_line_before_catch = false
  40. cpp_new_line_before_else = true
  41. cpp_new_line_before_while_in_do_while = false
  42. cpp_space_before_function_open_parenthesis = insert
  43. cpp_space_within_parameter_list_parentheses = false
  44. cpp_space_between_empty_parameter_list_parentheses = false
  45. cpp_space_after_keywords_in_control_flow_statements = true
  46. cpp_space_within_control_flow_statement_parentheses = false
  47. cpp_space_before_lambda_open_parenthesis = false
  48. cpp_space_within_cast_parentheses = false
  49. cpp_space_after_cast_close_parenthesis = true
  50. cpp_space_within_expression_parentheses = false
  51. cpp_space_before_block_open_brace = false
  52. cpp_space_between_empty_braces = false
  53. cpp_space_before_initializer_list_open_brace = true
  54. cpp_space_within_initializer_list_braces = false
  55. cpp_space_preserve_in_initializer_list = true
  56. cpp_space_before_open_square_bracket = false
  57. cpp_space_within_square_brackets = false
  58. cpp_space_before_empty_square_brackets = false
  59. cpp_space_between_empty_square_brackets = false
  60. cpp_space_group_square_brackets = true
  61. cpp_space_within_lambda_brackets = false
  62. cpp_space_between_empty_lambda_brackets = false
  63. cpp_space_before_comma = false
  64. cpp_space_after_comma = true
  65. cpp_space_remove_around_member_operators = true
  66. cpp_space_before_inheritance_colon = true
  67. cpp_space_before_constructor_colon = true
  68. cpp_space_remove_before_semicolon = true
  69. cpp_space_after_semicolon = true
  70. cpp_space_remove_around_unary_operator = false
  71. cpp_space_around_binary_operator = insert
  72. cpp_space_around_assignment_operator = insert
  73. cpp_space_pointer_reference_alignment = right
  74. cpp_space_around_ternary_operator = insert
  75. cpp_use_unreal_engine_macro_formatting = false
  76. cpp_wrap_preserve_blocks = never
  77. # Visual C++ Inlcude Cleanup settings
  78. cpp_include_cleanup_add_missing_error_tag_type = suggestion
  79. cpp_include_cleanup_remove_unused_error_tag_type = dimmed