Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij shortcut for quick call hierarchy

Is there a shortcut key to bring up the call hierarchy of a method inline with the code, in the quick menu format, rather than bringing up the call hierarchy panel?

like image 748
Brett Hannah Avatar asked Dec 04 '08 13:12

Brett Hannah


People also ask

How do I show call hierarchy in IntelliJ?

From the main menu, select Navigate | Call Hierarchy or press Ctrl+Alt+H .

What is Ctrl h in IntelliJ?

Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

How do you call a hierarchical?

Press Ctrl + Alt + H on Windows/Linux, ⌥ + ^ + H on macOS, and the Call Hierarchy tool window will open up with all the places that the function is called inside.


1 Answers

I don't think the inline method call hierarchy exists (please enlighten me if I am wrong).

  • Ctrl + Alt + H shows the call hierarchy in the tool window
  • Alt + F7 opens the dialog to find the usages
  • Ctrl + F7 finds the usages in the same file
like image 88
Ruben Avatar answered Sep 19 '22 12:09

Ruben