Navigate Current Context
Navigate file by its structure
With ReSharper, you can navigate the structure of the current document using the File Structure window, which greatly simplifies navigation in large files. The window is synchronized with the editor: as you switch to another editor tab, the window displays the structure of the corresponding file. To navigate through the file easily, preprocessor directives are hidden by default.
Press Control+F11 or choosefrom the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.
Right from the File Structure window, you can access even more actions. To check the available commands, you can right-click any symbol.
Find usages of symbols Alt+F7
Generate type members Alt+Insert
Perform refactorings ( Control+Shift+R)
Drag-n-drop types and type members to rearrange their order. Your changes are immediately reflected in the file.
If the opened file contains unit tests, these are marked with corresponding icons displaying the status of their last execution. You can also run and debug unit tests right from inside the File Structure window.
Navigate to containing declaration
With a single shortcut, you can jump in the editor to the declaration of a type or a function from any position within its body.
Press Control+OemOpenBrackets or choosefrom the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.
Navigate between members and tags
With the Next/Previous Member commands, you can quickly navigate between members and nested types in code files or between tags in markup files.
Locate current document in Solution/Assembly Explorer
This handy navigation feature lets you expand the tree in the Solution Explorer, auto-scroll and highlight the item corresponding to the current document. It is especially useful when you have a massive solution, or a limited screen area that forces you to shrink the Solution Explorer window to the limit.
This command also works with decompiled code allowing you to locate decompiled symbols in the Assembly Explorer window. In this case, the command is sensitive to the caret position: If the cursor is on a specific symbol, the item corresponding to this symbol is highlighted in the Assembly Explorer; if the cursor is elsewhere in the document, the root type of the document is highlighted.
In the editor, switch to a document that you want to locate in the Solution Explorer.
Press Alt+Shift+L or choosein the main menu,
ReSharper will bring up the Solution Explorer window or the Assembly Explorer window (depending on whether your caret is in source or in decompiled code) to focus and show you the item there.
Navigate neighboring files and projects
Navigate related files
Press Control+Alt+Shift+G or choosefrom the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.