ReSharper 2020.3 Help

File Structure window

ReSharper | Windows | File Structure
Control+F11

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.

Right from the File Structure window, you can access even more actions. To check the available commands, you can right-click any symbol.

ReSharper: File Structure window

Toolbar Controls

ControlNameDescription
Themed icon expand all screen gray Themed icon collapse all screen grayExpand All/ Collapse AllExpands/collapses all nodes in the current tab.
Themed icon up screen gray Themed icon down screen grayPrevious/ Next
Shift+F8/ F8
Navigate to the previous/next item and scrolls through the source code accordingly.
Themed icon export screen grayExportClick this button to export the data currently displayed in the window in text format, or use the drop-down selector to export the data in XML or HTML format. The Export Data dialog that appears, will help you to save the data to a file or copy it to the clipboard.
Themed icon sync caret to view screen grayTrack Caret in EditorWhen this button is pressed, items in the window are highlighted according to the position of the caret in the editor.
Themed icon sync view to caret screen grayAutomatically Scroll to SourceWhen this button is pressed, the editor opens the file and scrolls it according to the items selected in the window.
Themed icon enregion screen graySurround with RegionIn C# and VB.NET files, surrounds the selected symbols with #region.
Select one or several adjacent nodes in the window and click Surround with Region Themed icon enregion screen gray.
You can remove the region from the source code by clicking the X mark in the upper-right corner of the region frame. You can also collapse/expand the region frame using the arrow in the upper-left corner.
Themed icon macro screen symbols vs11grayShow Preprocessor DirectivesIn C++, shows all preprocessor directives in the current file.

Context Menu Commands

DeclarationNavigates to the declaration of a selected symbol in the source code. Equivalent to double-clicking a node in the %windowName% window.
Base SymbolsNavigates to the base type or method of a selected symbol.
Derived SymbolsNavigates to a derived class or overriding method of a selected symbol.
RefactorA context-sensitive submenu that displays the list of refactorings available for the item.
Find UsagesPerforms the Find Usages command for the item.
Find Usages AdvancedPerforms the Find Usages Advanced
Last modified: 08 March 2021