- On the main menu, choose ReSharper | Navigate | Go to Declaration.
- Press Ctrl+B.
- Ctrl+click the item.
NoteIf a selected item has several declarations, choose one of them from the drop-down list.
TipTo display the list of found declarations in the Find Results window, press + on the numeric keypad.
The source file opens and the caret positions at the selected type, method, field, or local variable declaration. If the file with this item is closed, it will open in a new tab. For library symbols, the corresponding entity displays in the Object Browser.
Consider the following example:
After pressing Ctrl+B, the caret is repositioned as follows:
However, positioning the caret at the
IProjectFile type identifier and pressing Ctrl+B will
navigate you to the declaration of this interface.