@WebStormIDE So it's getting to be about that time where you invent auto-import-plus-install. Meaning, yeah, I can type a function name and yeah it'll write the import line at the top for me, but I still have to go to terminal and npm install junk, so maybe it needs to be faster.
Unfortunately, we can't add imports for the symbols from dependencies that are not yet installed. What WebStorm can do is suggest adding a dependency and running `npm install` from the import statement that you've typed.pic.twitter.com/ppJj7zt1iS
-
-
Yes, I understand, and I understand the challenges but NPM ranks quality by weekly downloads, packages have keywords, WebStorm has an index of my project for context. To optimize the solution you'd need to perform a live search based on this info and creative UX for ease of use.
-
Sorry, but the keywords, ranking or package name won't be enough to know that a method belongs to a particular package. Even if npm had an API to search for symbols inside all packages, it would be hard to imagine that it would have been precise and fast enough
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.