Intellij shortcut for quick call hierarchy

岁酱吖の 提交于 2019-11-27 17:46:57
Ulf Lindback

If you just want to jump to one of the callers of the method, CTRL + ALT + F7 is the way to go. On a Mac, use: Command + Option + F7

There is a 'Default Keymap Reference' on the 'Help' menu

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
Billz

To be complete: for the Mac user

Press command + alt + F7

For Mac: Ctrl + Option + H Choose "Callee Methods Hierarchy" would be better.

Antony Stubbs

Don't forget you can always do the action name search with Command + Shift + A and search for "call", amongst other commands.

+ + F7

PS: Modified terms (e.g. no more alt) in newer Macs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!