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 (
As of version 2016.3 this is found under Settings > Appearance & Behavior > Scopes.
Or regardless of the version, just go to Settings and type "scopes" into the search box at the top.
Then just click the + symbol to add the scope, choose the folder you want to exclude, and click Exclude Recursively and apply.
Then when you search using CTRL+SHIFT+F, under Options > Scope select Custom and choose the scope you just created (thanks commenters).