mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 12:40:30 +00:00
f478c4ffc4
- Switch to a fairly standard code format. This is largely based on IntelliJ defaults, with some minor tweaks applied via editor config. Should mean people don't need to import a config! - Use "var" everywhere instead of explicit types. Type inference is a joy, and I intend to use it to its fullest. - Start using switch expressions: we couldn't use them before because IntelliJ does silly things with our previous brace style, but now we have the luxury of them!
30 lines
609 B
INI
30 lines
609 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
ij_continuation_indent_size = 4
|
|
ij_any_do_while_brace_force = if_multiline
|
|
ij_any_if_brace_force = if_multiline
|
|
ij_any_for_brace_force = if_multiline
|
|
ij_any_spaces_within_array_initializer_braces = true
|
|
|
|
ij_kotlin_allow_trailing_comma = true
|
|
ij_kotlin_allow_trailing_comma_on_call_site = true
|
|
ij_kotlin_method_parameters_wrap = off
|
|
ij_kotlin_call_parameters_wrap = off
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.sexp]
|
|
indent_size = 2
|
|
|
|
[*.yml]
|
|
indent_size = 2
|