Skip to content

Commit 1263fda

Browse files
committed
Add temporary workaround for IntelliJ editorconfig bug
1 parent 782a36c commit 1263fda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.editorconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ indent_size = 4
209209
max_line_length = 140
210210
ij_java_class_count_to_use_import_on_demand = 999
211211
ij_java_names_count_to_use_import_on_demand = 999
212-
ij_java_imports_layout = *,|,com.**,|,io.**,|,org.**,|,java.**,|,javax.**,|,$*
212+
# The first '@*,' is a workaround for https://youtrack.jetbrains.com/issue/IDEA-368382/Auto-import-puts-java-imports-first-even-when-Editor-Code-style-Java-Import-layout-puts-them-last
213+
# it should be removed once that is fixed
214+
ij_java_imports_layout = @*,*,|,com.**,|,org.**,|,java.**,|,javax.**,|,$*
213215

214216
[*.json]
215217
indent_size = 2

0 commit comments

Comments
 (0)