ReSharper Web Help

ReSharper | Windows | File Structure
Ctrl+F11Ctrl+Alt+F

This window displays the structure of the file in the active editor tab. The window is synchronized with the editor. As you switch to another editor tab, the window displays the structure of the corresponding file.

The File Structure window supports C#, VB.NET, ASP.NET, XML, XAML, HTML. CSS, and JavaScript files.

Tip

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.

FileStructure

In the File Structure window, you can:

Toolbar controls

Control Name Description
toolbar__expand_all toolbar__collapse_all Expand All/Collapse All Expands/collapses all nodes in the current tab.
toolbar__previous toolbar__next Previous/Next Navigate to the previous/next item and scrolls through the source code accordingly.
toolbar__export Export Click 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 box that appears, will help you to save the data to a file or copy it to the clipboard.
FileStructureWindowCaret Track Caret in Editor When this button is pressed, nodes in the File Structure window are highlighted according to the position of caret in the editor.
FileStructureWindowScrollToSource Automatically Scroll to Source When this button is pressed, source code is scrolled in the background as you select nodes in the File Structure window.
FileStructureWindowEmbrace Surround with Region Surrounds the selected symbols with #region.
Select one or several adjacent nodes in the window and click Embrace with Region. The default name for the region is <Name>.
You can remove the region marks 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.

Context menu commands

Item Description
Declaration Navigates to the declaration of a selected symbol in the source code. Equivalent to double-clicking a node in the File Structure window.
Base Symbols Navigates to the base type or method of a selected symbol.
Derived Symbols Navigates to a derived class or overriding method of a selected symbol.
Refactor A context-sensitive submenu that displays the list of refactorings available for the item.
Find Usages Performs the Find Usages command for the item.
Find Usages Advanced Performs the Find Usages Advanced