The Document Outline window shows a structured, hierarchical view of the SQL script or document you’re working on. It helps you navigate large SQL files by listing report elements, queries, subqueries, and individual clauses in an organized tree view.
You can use the Document Outline window to:
Elements appear as expandable and collapsible nodes in a hierarchical tree view.
To open the Document Outline window, select View > Document Outline.
The toolbar appears above the search box.
The table describes the available options.
Icon | Name | Description |
---|---|---|
![]() |
Refresh | Refreshes the list of elements in the tree. |
![]() |
Toggle automatic refresh | Turns on (when enabled) or turns off the automatic updating of the tree when the underlying data changes. |
![]() |
Collapse all | Collapses all nodes in the tree. |
Right-click a tree element or node and select the required command.
The table describes the available commands.
Name | Description |
---|---|
Collapse | Collapses the selected expanded node in a hierarchical view. |
Expand | Displays the full contents of the selected collapsed node. |
Full Expand | Displays the full contents of all collapsed nodes. |
Full Collapse | Collapses all expanded nodes in a hierarchical view. |
To navigate to the object in the script, click or double-click it in the Document Outline window. The element will be highlighted in the SQL document.
To find an element, start typing in the search box. The matching text will be selected in yellow.
Note
The search is case-insensitive.
To clear the search results, select Clear Filter in the search box.
In the search box, you can use the following keyboard shortcuts:
To select all text in the search box, right-click the search box and select Select All.