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.
source share