ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Navigate inheritance hierarchy with gutter marks

Last modified: 21 July 2022

For types and type members that have base symbols or inheritors elsewhere in the solution and referenced assemblies, ReSharper shows gutter icons that let you navigate up and down the inheritance hierarchy:

ReSharper: Gutter icons and tooltips for base and implementing/overriding types and members

The following icons indicate base symbols and inheritors in different cases:

You can hover the mouse to see the quick summary and click icons to navigate. If there is a single base or inherited symbol, ReSharper will navigate directly to that symbol; if there are multiple results, you will be able to choose the target from the list. If you want to see the list even if there is only one target, clear the Go to Base/Inheritor: if there is only one result, navigate without displaying the list checkbox on the Environment | Search & Navigation | General page of ReSharper options (Alt+R, O).

If you prefer using the keyboard, set the caret at a line that has a gutter mark, press Alt+Enter, and pick the navigation action from the menu. Alternatively, you can use the dedicated navigation commands:

  • Go to Base Symbols Alt+Home to navigate to base types or members.

  • Go to Derived Symbols Ctrl+F12 to list all derived symbols for a type or a member and navigate directly to one of them.

  • Go to Implementation Ctrl+F12 to find actual implementations of types and members bypassing intermediate steps in the inheritance hierarchy.

This feature is supported in the following languages and technologies:

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.