Browse Source

Add "ij_continuation_indent_size" setting to .editorconfig (#6251)

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.
tags/3.1.0-rc.2
Bernd Ahlers 2 months ago
parent
commit
ffc49bc434
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      .editorconfig

+ 1
- 0
.editorconfig View File

@@ -10,6 +10,7 @@ insert_final_newline = true

[*.java]
indent_size = 4
ij_continuation_indent_size = 8
trim_trailing_whitespace = true

[*.{js,jsx}]

Loading…
Cancel
Save