I have a few different project with the same core
.
All I need is to mark all not current projects as excluded
to avoid searching through them (
This is the best way to exclude directories from your search results. I work on large Magento project with many directories I don't want in search results. This solved my problem. If your project contains a /vendor directory, this will help speed up indexing in PHPStorm since it's ignored.
Right click on any folder to bring up the following options.