Using search by scope I see found result in wrong directories
Hello,
In PhpStorm 2017.2.4 using search by scope I see found result in directories I expected excluded from search.
say I see that some search is done in node_modules directory, whiich is excluded from the project:
https://imgur.com/a/LfYDG
In my laravel project I created the scope, which is suppsed to make search only in “app/Http” directory
https://imgur.com/a/bJu1A
But making the search I see that search was done in some other directories I set:
https://imgur.com/a/c3amQ
What is wrong with my settings?
Thanks!
Please sign in to leave a comment.
Hi there,
So how is your actual search dialog looks? So far it could be a user mistake there (wrong context/scope was chosen). Show a screenshot of it.
P.S. In your custom scope you include files from "app/Http" folder (and all subfolders) as well as files from the root folder.
P.P.S. You can attach pictures here -- no real need to host them elsewhere.
Hello,
Thank you for your responce!
Looks like you are right.
Could you please to give a reference to the search syntax when I select/exlude some dirs?
It is somewhat tricky...
Syntax for scopes is based on pure regular expressions.
Do you experience any issues with marking directories as included/excluded via user interface?