IntelliJ: Prevent out of scope search for Find Usages
Answered
I have defined a custom scope Client in my typescript project in IntelliJ. When I use Find Usages, the results of my scope are shown but IntelliJ still searches the remaining files of the project which is really resource intensive.

Can I prevent IntelliJ to search for usages in out of scope files?
Please sign in to leave a comment.
Hi Dennis,
Unfortunately, it is not possible in the current design.
If performance drops significantly during the search for usages, it is recommended that you send the IDE logs (Help | Compress Logs and Show in Explorer) and a CPU snapshot over for us to analyze.
I have just found out that I did not mark some dist directories as excluded. I have changed that and performance is good now.
Thanks for the confirmation Dennis.