From 1263fda175aadcea0be51bf60381925f9befa4f3 Mon Sep 17 00:00:00 2001 From: Nick Tindall Date: Tue, 4 Mar 2025 15:21:02 +1100 Subject: [PATCH] Add temporary workaround for IntelliJ editorconfig bug --- .editorconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index eeff76dd66163..57ddc020b5243 100644 --- a/.editorconfig +++ b/.editorconfig @@ -209,7 +209,9 @@ indent_size = 4 max_line_length = 140 ij_java_class_count_to_use_import_on_demand = 999 ij_java_names_count_to_use_import_on_demand = 999 -ij_java_imports_layout = *,|,com.**,|,io.**,|,org.**,|,java.**,|,javax.**,|,$* +# 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 +# it should be removed once that is fixed +ij_java_imports_layout = @*,*,|,com.**,|,org.**,|,java.**,|,javax.**,|,$* [*.json] indent_size = 2