Reputation: 1252
If place my selection on an unresolved variable (roles in below image) and press option+return I'm supposed to get suggestions on imports that I can add to resolve the variable.
As you can see in the screenshot, I don't get the import suggestions anymore. I think this broke two updates ago, for me.
Adding imports on the fly still works. Import suggestions when I add imports by typing still works.
Any idea on what is wrong with my settings? I'm developing in Javascript using IntelliJ Ultimate.
Upvotes: 0
Views: 102
Reputation: 93748
Please make sure that Missing import statement inspection is enabled in Preferences | Editor | Inspections JavaScript | General.
Please also check the JavaScript | General | Unresolved JavaScript function and JavaScript | General | Unresolved JavaScript variable inspections
Upvotes: 1