Call Tracking
ReSharper_CallHierarchyShowIncomingCalls
/
ReSharper_CallHierarchyShowIncomingCalls
Call Tracking enables you to view and navigate through call chains in your code. ReSharper Call Tracking is a substantial improvement over Visual Studio native Call Hierarchy, thanks to support for events, interfaces, and closures.
In the hierarchy view, ReSharper uses icons to distinguish between different kinds of symbols. You can learn meanings of the icons on the Symbol Icons Schemes reference page. If necessary, you can switch between icon sets in the using the Source code symbol icons theme radio buttons on the page of ReSharper options.
To investigate outgoing calls
- Place the caret at the name of a method, event, property or constructor.
- In the main menu, choose or press Ctrl+Shift+Alt+A and choose Outgoing Calls in the Inspect This drop-down list.
-
In the
Inspection Results Window that opens,
you can expand the member node to run code analysis on it and display all members called by the
current member. You can also expand each of the child nodes.
To investigate incoming calls
- Place the caret at the name of a method, event, property or constructor.
- In the main menu, choose or press Ctrl+Shift+Alt+A and choose Incoming Calls in the Inspect This drop-down list.
-
In the
Inspection Results Window that opens,
you can expand the member node to run code analysis and display all members
that call the current member. You can also expand each of the child nodes.
This feature is supported in the following languages/technologies:
C# | VB.NET | C++ | HTML | ASPX | Razor | JavaScript | TypeScript | CSS | XML | XAML | RESX | Build Scripts | Protobuf | JSON |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.