RustRover 2026.1 Help

Call hierarchy

RustRover provides a separate tool window for viewing call hierarchies. As you browse through the hierarchy, RustRover automatically navigates you to the corresponding code in the editor.

Building and navigating a call hierarchy

Analyzing call hierarchies

A call hierarchy shows the callers or callees of a method or struct.

When built, a hierarchy can be immediately viewed and examined in the Hierarchy tool window. The caller and the callee hierarchies are displayed in two separate tabs: click the Caller Hierarchy toolbar button to view callers and the Callee Hierarchy button to view callees.

Build a call hierarchy

  1. Open a file in the editor and place the caret at the declaration or usage of the desired method.

    Alternatively, select the desired method in the Project tool window.

  2. In the main menu, go to Navigate | Call Hierarchy or press Ctrl+Alt+H.

Retain a hierarchy tab

  • In the Hierarchy tool window, click the Pin Tab button Pin button on the toolbar.

Viewing hierarchies

Open the Hierarchy tool window

  1. Make sure, you have already built hierarchies to show, see Building hierarchies above.

  2. Select View | Tool Windows | Hierarchy from the main menu.

Navigate between the tabs

  • Right-click the currently displayed tab and select Select Next Tab or Select Previous Tab from the context menu.

  • Press Alt+Right or Alt+Left.

Switch between callers and callees

  • With RustRover, you can build and explore both caller and callee method hierarchies.

    Click the Caller Hierarchy toolbar button or the Callee Hierarchy button to show caller methods or callee methods respectively.

Hierarchy tool window buttons

Item

Description

the Caller Hierarchy toolbar button

Shows the callers of the selected method.

the Callee Hierarchy button

Shows the callees of the selected method.

the Sort Alphabetically button

Sorts all elements within a tree alphabetically.

the Refresh button

Shows all updated types or class structures.

the Navigate with Single Click button

Moves to a file and a section in a source code that corresponds to the selected node in the hierarchy tree.

the Expand All button

Expands all nodes.

the Pin button

Locks the current tab from closing and reusing. Results of the next command are displayed in a new tab.

the Export to Text File

Exports a hierarchy into a text file. You can specify a location for this file.

the Close button

Closes the tool window.

18 March 2026