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.
- Place the caret at a symbol/member in the editor.
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.
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 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:
After pressing Ctrl+Shift+TCtrl+Shift+F11 ReSharper opens the class that contains the declaration of the IProjectFile interface.