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?

 

0
3 comments

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.

0
Avatar
Permanently deleted user

I have just found out that I did not mark some dist directories as excluded. I have changed that and performance is good now.

0

Thanks for the confirmation Dennis.

0

Please sign in to leave a comment.