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.
To analyze the structure of the current document
- Press Ctrl+F11 or choose from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.
- 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.