exclude directory from search

I frequently do 'Find in Path' to find a string, for example, I wanted to see where my project was using the string 'supertest'. When I do find in path, however, it searches my node_modules folder, which I do not want it to search. I am using meanjs, which puts node_modules right at the root. Is there a way to find a string within a project but exclude one directory path from the search?

2 comments
Comment actions Permalink

Hi there,

Create a custom scope (Settings | Scopes) and exclude unwanted folders/files there.

Now when you do "Find in Path" -- just use that scope

screen01.png

3

Please sign in to leave a comment.