Alter+Enter won't bring import dialog
Suddenly Intellij won't suggest me to import classes.
For example if I write List once it used to suggest importing java.util.List; but not anymore.
In settings I have auto-import enabled.
I'm on Intellij 11.1.1
I tried on new projects and on Upgraded projects from 10.5.2
Any help?
Thanks guys
Please sign in to leave a comment.
The indexes/caches might have gotten corrupted. You can try the following: From the main menu, select File > invalidate Caches and then restart IntelliJ IDEA.
Also, on the Settings > Editor > Auto Import dialog, make sure a catch-all entry, such as java.*, did not accidentally get added the "Exclude from Import and Completion" list.
You saved my ass.
Many thanks!