Search code examples
refactoringwebstorm

Limit Refactoring Scope in Webstorm


Is there a way to configure Webstorm so that when it refactors, it ignores specific areas of my project. Specifically, I would like to be able to ignore folders containing 3rd party dependencies and built assets, such as node_modules.


Solution

  • You can make a JavaScript library of these folders as described here. They will be excluded from renaming and other refactorings scope.