Reputation: 339
I've succeeded to exclude bower components and node modules from my search results by choosing the folder -> mark directory as -> excluded, but I couldn't do the the same for my concat file (a file with all code of the js files of my project).
How can I exclude this file from my search results?
Upvotes: 16
Views: 9681
Reputation: 1889
You can exclude files and folders by name pattern. Just follow the steps here https://www.jetbrains.com/help/phpstorm/excluding-files-from-project.html#exclude-by-pattern
Upvotes: 6
Reputation: 93868
Edit | Find | Find in Path
supports scopes. You can create a new scope (Settings | Appearance & Behavior | Scopes
) with the generated file excluded and use this scope for searching. Or, place your generated file(s) into a separate folder and exclude it like you did for bower_components and node_modules
Edit: since 2017.2 you can exclude files by pattern - see https://www.jetbrains.com/help/webstorm/2017.2/directories.html, Exclude files
Upvotes: 19