Power of Find Usages in IntelliJ IDEA 12
November 20th, 2012 by Andrey CheptsovAs you know IntelliJ IDEA is mostly focused on developer productivity. That’s why we constantly re-think even the basic features to make it more quick and powerful.
In IntelliJ IDEA 12 you are able to use Find Usages without any dialogs and confirmations. You can press Alt + F7 and see the results in a tool window immediately. More results will appear while the search is proceeding.

If you need to change default settings or the search scope, use Shift + Alt + Ctrl + F7 or Settings button in the tool window.
Another useful feature available in Find Usages tool window is Preview Usages, which shows a preview for a selected usage.

In IntelliJ IDEA 12 we have added a few additional options for this feature.
Option Dataflow to Here shows the values, assigned to the usage and where they come from. In the same way Dataflow from Here option shows where the values go to from the usage.

And finally Call Hierarchy option, available also for JavaScript, shows the methods called before the code from the usage.

All these features are available for evaluation in the latest IntelliJ IDEA 12 EAP. Feel free to share your feedback and submit bug reports in our issue tracker.
Stay tuned and develop with pleasure!
Tags: Leda

November 20th, 2012 at 8:02 am
HI,
“If you need to change default settings or the search scope, use Shift + Alt + Ctrl + F7 or Settings button in the tool window.”
In my intellij on linux i found Ctrl+Alt+Shift+7 and not F7.
cheers
November 21st, 2012 at 3:38 am
It would be great when hovering or browsing through the find results would display a light popup that shows the whole expression (if its multi-line) instead of the exact line.
November 21st, 2012 at 3:45 pm
Would like to see usages in JSP and JSPF files also searched via option
November 21st, 2012 at 9:42 pm
This is a most welcome change, as I find myself using this feature repeatedly and hate having to click through a modal.
November 22nd, 2012 at 5:39 am
Why I need to position to some element if want to get “Find Usages Settings”? It is very annoying.
December 11th, 2012 at 11:27 am
I just switched from Intellij 11 to 12 and find usages (I’m using scala) isn’t finding anything. It consistently comes back with “No usages found in Project Files” although I know there are usages in the project. I rebuilt the project but that didn’t change anything. Is there a fix for this?
Thanks.
December 11th, 2012 at 11:38 am
Invalidating the caches appears to have fixed the “No usages found in Project files”
December 29th, 2012 at 10:05 am
Would be nice to have “Find usages settings” in context menu, because it allows to browse code (with frequent switching between code-only and code/text-occurences) without keyboard (useful when having a cofee/sandwitch, or helping neighbour on his computer).