I'm using the great Find Usages feature in PHPStorm on a daily basis, and search results fall under one of these two categories:
I'm almost never interested in the non-code usages. Furthermore, when I'm looking for usages of a method called get()
or set()
, it becomes painfully slow as the non-code usages show thousands of results.
Is it possible to disable the non-code usages, and only return actual code usages?
Click on a function name
Go to Edit
, Find
, Find Usages Settings...
Uncheck Search for text occurrences
, and click Find
While this is not really a global setting, the setting is remembered after the search, and the next time you'll right click to Find Usages
it will be off by default.
Credits to LazyOne for the answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With