问题
When I search everywhere I would like to exclude JS and js.map files from the search results. ( I am using TypeScript ). My expected behaviour is to have these files omitted from Search Everywhere.
Yes, I can mark the files as plain text, but that's cumbersome on a per file basis.
I have used scopes:
I have researched these links:
- PHPStorm exclude files by mask from indexing
- How to exclude file from PhpStorm global search (Ctrl+Shift+F)
What am I missing? Can this be done?
回答1:
You can exclude particular directory from your project. Go:
Settings > Directories
after that select desired directory and press "Excluded" button.
来源:https://stackoverflow.com/questions/37222399/webstorm-phpstorm-exclude-file-from-search-everywhere