File Structure Window is a versatile tool which allows you to not only inspect and navigate the current file, but also quickly make changes to it. This window is synchronized with the file currently opened in the code editor: as you switch to different files, it goes withy you and shows the current file structure at all times.
To open File Structure Window:
ReSharper offers another feature with a similar name: the File Structure Popup. Please refer to the File Structure Popup topic for details.

You can perform the following actions in this window:
#region using the See the Toolbar section below for a detailed description of each button.
In addition, code generated by Windows Form Designer is specially marked in the following way:

You can remove this piece of code from the window by clicking the X mark in the top right-hand corner of the frame. You can also collapse/uncollapse the code by clicking the mark in the top left-hand corner, as shown below:

The toolbar buttons of File Structure Window are explained in the following table:
| Button | Name | Action |
|---|---|---|
| Navigate to Source |
Navigates to the declaration of the selected symbol. Tip: You can also double-click a node to navigate to the corresponding declaration. |
|
| Track Caret in Editor |
When this button is selected, the selection in the File Structure window automatically follows the position of the caret in the code editor. Note: Selecting both Track Caret in Editor and Auto Scroll to Source at the same time may lead to unstable window behavior. |
|
| Auto Scroll to Source |
When this button is selected, the source is automatically scrolled in the background as you shift the selection in the window. Note: Selecting both Track Caret in Editor and Auto Scroll to Source at the same time may lead to unstable window behavior. |
|
| Embrace 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". |
|
| Move Declaration Up | Moves the declaration of the selected symbol up in the actual code and in the File Structure window (moving up means exchanging places with the declaration directly above). | |
|
Move Declaration Down |
Moves the declaration of the selected symbol down in the actual code and in the File Structure window (moving down means exchanging places with the declaration directly below). |
File Structure Popup | Code Navigation | Finding Usages | Navigation Views