Exclude certain folders from search unless specifically searched on?

We're using imported libraries from composer that are huge and can take search a while to go through, but I just want to search our normal code folders but be able to search the included folders on demand. What's the best way to do this?

4 comments
Comment actions Permalink

Hi there,

Define a custom scope and include only folders that you want to be searched. Then use it when using Find in Path

0
Comment actions Permalink

How do I use the custom scope when using Find in Path?

0
Comment actions Permalink

By choosing "Custom" in Scope section .. and then selecting actual scope?

https://www.jetbrains.com/phpstorm/help/find-and-replace-in-path.html

1
Comment actions Permalink

 

I think this wasn't adequate but I discovered if I put the folders in Exclude that it won't search them as recursive folders but will let me scan them manually as the top-level folder.

0

Please sign in to leave a comment.