Does anyone know how to stop the Move... refactoring in WebStorm using non-Node.js import syntax?
-
-
Symbols (e.g., functions). I do that a lot while I'm TDD-ing. It's quite annoying.
-
Sorry, Move Symbol only works with symbols in ES modules and, therefore, uses the ES import/export syntax. Actually, if the file doesn't have any `export`/`import` keywords and uses only `exports.` or `module.exports`, the Move refactoring will only work for a file as a whole.
- 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.