Refactoring Limit in Webstorm

Is there a way to configure Webstorm so that when I refactor it will ignore certain areas of my project. In particular, I would like to be able to ignore folders with third-party dependencies and embedded resources such as node_modules.

+2
source share
2 answers

You can create the JavaScript library of these folders as described here . They will be excluded from renaming and other areas of refactoring.

+3
source

You can also mark directories as completely ignored - they will not be displayed in the Webstorm project view, will not be included in the search, will not be checked during refactoring, etc. This is usually useful for directories containing embedded assets.

Right-click on the folder in the project view and select Mark Directory As, then choose Ignore.

+2
source

Source: https://habr.com/ru/post/1247105/


All Articles