NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Exclude directories from SEARCH but not from code inspection


Joined: 21 May 2018
Posts: 1
Reply with quote
I need to find in files string "WebUser" within the project root "/app" (means only in project files).

However, I want to exclude "/app/vendor/" directory from search.
This is default directory used e.g. by composer - it's really huge - and contains third party libraries, framework classes, etc etc
"/app/vendor/" is necessary for class/traits/obejcts declarations (code inspection), but bad for searching (often contains large files, may have 50 - 100 MB ...).

When I hide directory "/app/vendor" via Projects properties, then it will be excluded from file search (which is my goal), but it will not find class declarations (undesired side effect).
E.g. CTRL + classname returns Failed to find "xxxxxx" class (or trait).

My question is:
How to exclude directories ONLY from search, while keeping it availble for IDE object parsing capabilities (code inspection)?

Thank you.
View user's profileFind all posts by CruzGibbs1975Send private message
Exclude directories from SEARCH but not from code inspection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic