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?

0

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
Avatar
Permanently deleted user

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

0

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

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

1
Avatar
Permanently deleted user

 

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

请先登录再写评论。