dotPeek 2022.2 Help

File Structure window

With dotPeek, 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 code viewer: as you switch to another code viewer 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.

dotPeek: File Structure window

Toolbar Controls




Themed icon expand all screen gray Themed icon collapse all screen gray

Expand All/Collapse All

Expands/collapses all nodes in the current tab.

Themed icon up screen gray Themed icon down screen gray



Navigate to the previous/next item and scrolls through the source code accordingly.

Themed icon export screen gray


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 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 gray

Track Caret in Editor

When this button is pressed, items in the window are highlighted according to the position of the caret in the code viewer.

Themed icon sync view to caret screen gray

Automatically Scroll to Source

When this button is pressed, the code viewer opens the file and scrolls it according to the items selected in the window.

Themed icon macro screen symbols vs11gray

Show Preprocessor Directives

In C++, shows all preprocessor directives in the current file.

Context Menu Commands


Navigates to the declaration of a selected symbol in the source code, equivalent to double-clicking.

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.

Find Usages

Performs the Find Usages command for the item.

Find Usages Advanced

Performs the Find Usages Advanced

Last modified: 01 August 2022