Is there any refactoring support for JS require() ?
I have a large project that has hundreds of JS files, all with multiple dependencies, and it needs a major refactor.
Is there any support for this built in?
Or is it regex search & replace time!?
请先登录再写评论。
WebStorm doesn't have any specific refactorings for require.js. Basic things like rename should still work...
Would be cool if WS could do a AST analysis of requires like Browserify does, then manage all the moves and update the requires.
Please feel free to file a request for this feature to youtrack