mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Since I updated IntelliJ to 2019.2, I noticed changed indentation behavior on line continuations. Instead of the standard 8 characters we are using everywhere, I now only get 4 characters of indentation. This is pretty annoying and also doesn't match the "standard" IntelliJ code style we are using for years. It looks like IntelliJ is now handling editorconfig files differently and now supports vendor specific settings. This change is adding the "ij_continuation_indent_size" IntelliJ specific editorconfig setting to restore the old behavior of 8 character indent for line continuations.
19 lines
441 B
INI
19 lines
441 B
INI
# EditorConfig helps developers to maintain consistent coding styles between different editors and IDEs.
|
|
# For more information about the properties used in this file, please see http://editorconfig.org/.
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
|
|
[*.java]
|
|
indent_size = 4
|
|
ij_continuation_indent_size = 8
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.{js,jsx}]
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|