Otto
Otto

Reputation: 1685

Is there a shortcut to do JS imports in WebStorm?

I spend a lot of time writing JS imports. Seems like WebStorm should be able to help me, but I can't find any shortcut for it. Perhaps there is a plugin somewhere...

Upvotes: 0

Views: 140

Answers (1)

lena
lena

Reputation: 93898

There is a "Missing import statement" inspection that has a quickfix (available on Alt+Enter). Similar inspection is available for require(). See http://blog.jetbrains.com/webstorm/2015/11/node-js-coding-assistance-in-webstorm-11/)

Upvotes: 2

Related Questions