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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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
回答2:
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
回答3:
To be complete: for the Mac user
Press command + alt + F7
回答4:
For Mac: Ctrl + Option + H Choose "Callee Methods Hierarchy" would be better.
回答5:
Don't forget you can always do the action name search with Command + Shift + A and search for "call", amongst other commands.
回答6:
⌥ + ⌘ + F7
PS: Modified terms (e.g. no more alt
) in newer Macs