Viewing File Structure
With dotPeek, you can view 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.
Right from the File Structure window, you can navigate from symbols, find usages of symbols . To check the available commands, right-click on any symbol.
To analyze the structure of the current document
- Press Ctrl+F11 or choose in the main menu .
- Use the File Structure window to explore and navigate through the document. You can double-click any symbol to make the caret in the code viewer switch to the corresponding position.
-
To synchronize the way you change caret position in the code viewer with the symbol highlighted in the
File Structure window, click
Track Caret in Editor
on the toolbar.
-
To synchronize symbols that you select in the
File Structure window with the caret position in the code viewer, click
Automatically Scroll to Source
on the toolbar.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.