Willy G
Willy G

Reputation: 1252

intelliJ: option+return to import not working

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.

enter image description here

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

Answers (1)

lena
lena

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

Related Questions