[java-import] IDEA-369199 Preserve module imports even if they are not used

- new options
- don't highlight such imports as unused
- delete imports of nested modules
- preserve high-level modules during 'optimize import'

GitOrigin-RevId: 3728f41a934f320767caac0a643a5869ccc84bcc
This commit is contained in:
Mikhail Pyltsin
2025-05-14 15:54:47 +02:00
committed by intellij-monorepo-bot
parent 66b1e9b6e5
commit cebd8c18cd
87 changed files with 2046 additions and 24 deletions

View File

@@ -69,6 +69,7 @@
"class_names_in_javadoc": 1,
"continuation_indent_size": 8,
"deconstruction_list_wrap": "normal",
"delete_unused_module_imports": false,
"do_not_indent_top_level_class_members": false,
"do_not_wrap_after_single_annotation": false,
"do_not_wrap_after_single_annotation_in_parameter": false,