mirror of
https://github.com/clshortfuse/renodx.git
synced 2026-10-02 05:04:37 +08:00
26 lines
686 B
INI
26 lines
686 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
|
|
root = true
|
|
|
|
|
|
[*.{c, c++,cc,cpp,cxx,h,h++,hh,hpp,hxx,inl,ipp,tlh,tli}]
|
|
# should follow https://google.github.io/styleguide/cppguide.html
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
cpp_indent_braces = false
|
|
cpp_indent_case_contents_when_block = true
|
|
cpp_new_line_before_open_brace_namespace = same_line
|
|
cpp_new_line_before_open_brace_type = same_line
|
|
cpp_new_line_before_open_brace_block = same_line
|
|
cpp_new_line_before_else = false
|
|
cpp_indent_case_labels = true
|