Idea logo

The IntelliJ IDEA Blog

The Capable & Ergonomic Java IDE by JetBrains

Early Access Program

Power of Find Usages in IntelliJ IDEA 12

As 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!

Comments below can no longer be edited.

9 Responses to Power of Find Usages in IntelliJ IDEA 12

  1. Avatar

    cibo says:

    November 20, 2012

    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

  2. Avatar

    Erik van Oosten says:

    November 21, 2012

    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.

  3. Avatar

    Darren Eyers says:

    November 21, 2012

    Would like to see usages in JSP and JSPF files also searched via option

  4. Avatar

    Jason Black says:

    November 21, 2012

    This is a most welcome change, as I find myself using this feature repeatedly and hate having to click through a modal.

  5. Avatar

    Sergey Kuksenko says:

    November 22, 2012

    Why I need to position to some element if want to get “Find Usages Settings”? It is very annoying.

  6. Avatar

    Nathaniel Novod says:

    December 11, 2012

    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.

  7. Avatar

    Nathaniel Novod says:

    December 11, 2012

    Invalidating the caches appears to have fixed the “No usages found in Project files”

    • Avatar

      gevra says:

      July 1, 2015

      this didn’t solve my problem…
      any other ideas for the fix?

  8. Avatar

    Nikolay Plekhanov says:

    December 29, 2012

    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).

Discover more