ReSharper Web Help

ReSharper | Windows | File Structure

The File Structure 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.

In the File Structure window, you can:

Toolbar

Button Name Description

Expand All

Expands all file members.

Collapse All

Collapses all file members to namespace(s).

Previous

Navigates to the previous file member scrolls the source code accordingly.

Next

Navigates to the next file member scrolls the source code accordingly.

Export

Opens the Export Data dialog box where you can:

  • View the list of file members as plain text in the Preview area and copy it by clicking Copy to Clipboard.
  • Save the list of file members as a text file by entering its name in the Save exported file as field or specifying it with the Browse button and then clicking Save.

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 code editor.

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.

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

Item

Description

Go to Declaration

Navigates to the declaration of a selected symbol in the source code. Equivalent to double-clicking a node in the File Structure window.

Go to Base Symbols

Navigates to the base type or method of a selected symbol.

Go to Derived Symbols

Navigates to a derived class or overriding method of a selected symbol.

Refactor

Displays the submenu of refactorings available for the selected node.

Find Usages

Opens the Find Usages dialog box.

Find Usages Advanced

Opens the Search Properties dialog box.

See Also

Procedures