By default, code outlining is enabled in the Code Viewer and you can adjust outlining settings for each tab separately.
All code in the Code Viewer is visible when you open a new document. If necessary, you can collapse regions of the code to hide them from view. In each tab of the Code Viewer a vertical line appears on the left edge. Squares with a minus sign (-) identify the start of collapsible code regions. When you click a minus sign, the text of the code region is replaced with a three periods box (…), and the minus sign changes to a plus sign (+). When you click the plus sign, the collapsed code appears and the plus sign changes to the minus sign.
Alternatively, you can toggle outlining for the current selection or for the whole document using commands in the main menu under.
To analyze documents with commented code, dotPeek outlines multi-line comment blocks, so that you can collapse these if necessary.
To enable or disable outlining for the current document
- To disable outlining and display all code, choose or in the main menu.
- To enable outlining, choose in the main menu.