ReSharper Web Help

The Go to Type of Symbol feature enables you to navigate to the declaration of a type that a variable, field or any other member has.

To navigate to the type declaration of a symbol
  1. Place the caret at a symbol/member in the editor.
  2. Do one of the following:
    • On the main menu, choose ReSharper | Navigate | Type of Symbol.
    • Choose Navigate To | Type of Symbol on the context menu.
    • Press Ctrl+Shift+TCtrl+Shift+F11.
  3. If the type that the symbol belongs to has only one declaration, ReSharper navigates to it directly.
    If there are several declarations, they are displayed in the drop-down list. So you can do one of the following:
    • To view the list of declarations in the Find Results window, click Show in Find Results go_to__show_in_find_results or press + on the numeric keypad.
    • To navigate directly to a declaration, select it in the drop-down list and press Enter.

If a symbol belongs to the current solution, ReSharper opens the corresponding file in the editor and places the caret at the symbol declaration. If a symbol is found in referenced libraries, ReSharper navigates according to the settings defined on the External Sources page of the Options dialog box. For more information, see External Sources.

Consider the following example:

Navigation_and_Search__Type_of_Symbol_01

After pressing Ctrl+Shift+TCtrl+Shift+F11 ReSharper opens the class that contains the declaration of the IProjectFile interface.

Navigation_and_Search__Type_of_Symbol_02


This feature is supported in the following languages/technologies:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available

Tip

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.