This window displays the structure of the file in the active code editor tab. The window is synchronized with the code editor. As you switch to another code editor tab, the window displays the structure of the corresponding file.
In the File Structure window, you can:
|Expand All/Collapse All||Expands/collapses all nodes in the current tab.|
|Previous/Next||Navigate to the previous/next item and scrolls through the source code accordingly.|
|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.|
|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
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
|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|