ReSharper Help

Navigation and Search

ReSharper enables you to find your way through the source code using the declarations, members, method calls, inheritance hierarchy, errors, etc.

The scope of navigation and search is not limited to files of your solution: if necessary, you can include types from referenced libraries in your navigation or search results. For more information, see Navigation and Search in Compiled Code.

You can start navigation from any place in the editor, from the Object Browser, Solution Explorer, Class View, File Structure, Find Results, and other ReSharper tool windows.

Navigation and search commands are available in the ReSharper | Navigate and ReSharper | Find menus, keyboard shortcuts, as well as on the context menu of the editor and other windows.

Depending on your task, different sets of ReSharper's navigation and search features may help you:

  • If you need to find anything in your solution or referenced libraries by name, study the commands in the Navigation by Name section.
  • If you need to go to any items related to the current code symbol, study the commands in the Navigation from Symbols section.
  • ReSharper also provides a general-purpose Navigate To shortcut that groups all navigation options available from the current caret position. To learn more about this shortcut, see Navigate to section.
  • If you want to find usages of a particular symbol in the current file, project, solution, or referenced libraries, study the commands in the Finding Usages section.
  • Depending on the current caret position in the editor, ReSharper can suggest you a lot of relevant navigation options. To learn more about these options, see Context-Dependent Navigation.
  • ReSharper keeps track of your actions and navigation history and offers various commands that let you navigate to places where you've been previously. For more information, see Navigating to Recent Locations.
  • ReSharper allows you to use the power of its Code Analysis for custom search and replace purposes. To learn more, see Structural Search and Replace.

Besides, ReSharper provides other means of navigation:

  • For types and interfaces that are overridden and implemented elsewhere, for methods implementing, overriding or hiding other methods, ReSharper shows gutter icons that provide quick navigation up and down the inheritance hierarchy:
    implements_tooltip

    For more information, see Go to Base Symbols and Go to Derived Symbols.
  • The File Structure window that represents the structure of the current file retaining and navigation features. For more information, see Viewing File Structure.
  • The To-do items that help you and your team mates organize your work in a convenient manner and easily retrieve positions in the source code that require attention.   For more information, see Using To-do Lists.
  • The Stack Trace Explorer window that enables you to navigate from a stack trace to the error location in the source code, and thus pinpoint the malfunction. For more information, see Navigating to Exception.

Most of ReSharper's navigation and search features are available in C# and Visual Basic .NET , some are available in several languages, others are language-specific. The table below lists all navigation and search features and languages/technologies where they are supported.

The instructions and examples given in the topics within this section address the use of navigation and search features in C#. For more information on navigation and search features available for specific languages, see the corresponding topics in the ReSharper by Language section.

Feature C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
Go to Everythingfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Filefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Symbolfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to File Memberfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Navigate Tofeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Type of Symbol feature_available feature_available feature_available feature_available feature_available feature_available feature_available
Go to Declarationfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Implementationfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Base Symbolsfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Derived Symbolsfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Usagefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Containing Declarationfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Next/Previous Memberfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Find Usagesfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Find Usages Advancedfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Highlight Usages in File feature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Related Filesfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Bookmarksfeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Viewing File Structurefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Structural Search and Replacefeature_availablefeature_availablefeature_availablefeature_availablefeature_availablefeature_available
Go to Matched Tags feature_available
Switching between header and source feature_available
Go to Primary Template/Specializations feature_available

See Also

Last modified: 3 September 2015