@WebStormIDE i think the IDE skips flagging named imports as unused when inside `const {a,b} = require(…);`
We couldn't reproduce the problem so a code sample or a screenshot would be helpful.pic.twitter.com/hjXA6thp1p
-
-
odd, i can reproduce on mac & windows... e.g. in this screenshot i added 'parse' & waited but no color change or squiggle... and it's this file https://github.com/avoidwork/tiny-translator/blob/master/lib/translator.js …pic.twitter.com/gjABWA3pFH
-
Can you please enable coding assistance for Node.js by pressing Alt-Enter on 'ulr' or 'path': that way the imported symbols will be properly resolved and the correct usages will be found.
- 18 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.