I know that Ctrl + Shift + G gives an output of all the methods that call directly the method I'm searching for. But how can I find the whole tree and not just the caller method. I want to output the whole call chain of a method (caller's caller etc), from the method it first started until the one I'm searching for.
Select mymethod() and press ctrl + alt + h . To see some detailed Information about any method you can use this by selecting that particular Object or method and right click.
To display the Call Hierarchy window, right-click in the code editor on the name of a method, property, or constructor call, and then select View Call Hierarchy.
-Or- press Ctrl+Shift+T (for a type) or Ctrl+Shift+M (for a method). The "Open Type/Method" dialog will appear. If a type/method was previously selected in the editor or outline views, it will be displayed.
Navigating Back to a Previously Viewed Method While browsing code, you'll often want to return to the previous method you were viewing once you're done viewing the method it calls. To do this, use Alt+Left (Backward History) to move back to the last navigation point.
Select the method what you want and press ctrl+Alt+H
You should use Ctrl + ALT + H
. Try it.
I think Ctrl + Alt + h
for Open Call Hierarchy
is what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With