Quick fix - Auto-Import for unambiguous class #730
-
Hi there, I'm wandering if it's possible to enable auto-import when a type is obvious. I tried the option Any thoughts? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The “Organize Imports” command will auto-import unambiguous classes. That’s what the setting is meant to control. Otherwise, imports are automatically added only when you select a class from the completion list. As in your screenshot, you use the quick fix to manually add an import if you typed the class name without completion. |
Beta Was this translation helpful? Give feedback.
The “Organize Imports” command will auto-import unambiguous classes. That’s what the setting is meant to control.
Otherwise, imports are automatically added only when you select a class from the completion list. As in your screenshot, you use the quick fix to manually add an import if you typed the class name without completion.