Dotnet logo

The .NET Tools Blog

Essential productivity kit for .NET developers


ReSharper in Detail: Navigate from Here

A subset of ReSharper’s navigation features is designed to help you promptly navigate from one symbol to another. These features are:

  • Go to Declaration
  • Go to Type Declaration
  • Go to Base
  • Go to Inheritor
  • Go to Usage

Two common ways to call them are to choose corresponding menu items or hit keyboard shortcuts, but there’s a third, by far the most convenient way, which is to invoke the Navigate from Here drop-down list upon the current symbol in the text editor (or upon a selected entry in File Structure or another ReSharper tool window) by pressing Ctrl+Shift+G:

Not only does this drop-down list provide a handy multiple-choice navigation technique, but it also extends a developer’s toolset with a bunch of “secret” navigation features that are not available from the ReSharper menu.

Control Flow Target

(Works in text editor only)
Function: navigates to next control flow recipient.
Available for: foreach, yield, jump statements (break, continue, goto, return), throw statement.
For example, in the following code fragment, selecting Control Flow Target upon the continue statement brings the caret to the next iteration of the enclosing iteration statement, i.e. –i:

Function Exit(s)

(Works in text editor only)
Function: navigates to member exit point or highlights alternative exit points.
Available for: getters and setters in properties, constructor names, return statement (alternative exit points are highlighted, if any), throw statement.
For example, invoking Go to Function Exit(s) upon the name of the following constructor highlights throw statements in if clauses, as well as the closing constructor body delimiter:

Implementing Members

Function: highlights interface members implemented in the current class.
Available for: base interface entries in implementing class declaration:

Overriding Members

Function: highlights abstract class members overridden in the current class.
Available for: base class entries in inheriting class declaration.
Works similar to Implementing Members

Conflicting Declaration(s)

Function: navigates to a member with identical signature in the current scope.
Available for: any of conflicting member declarations:

Member Overloads

Function: navigates to an overloading member or (if there are two or more of them) highlights such members in the text editor.
Available: anywhere within overloadable members:

To-do Explorer

Function: navigates from a to-do item in the text editor to its corresponding entry in the To-Do Explorer.
Available for: to-do items:

Test Explorer

Function: navigates from a unit test or test class in the text editor to its corresponding node in the Unit Test Explorer.
Available anywhere within test classes, unit tests:

As a finishing note, remember that whenever you execute a “Navigate from Here” action that highlights a set of symbols that are not entirely visible on the current screen, you can navigate to the highlights using ReSharper Marker Bar (take a note of blue markers in the example for Member Overloads). When you’ve finished examining the highlights, press Esc to remove them.

Discover more