When you open a file in the editor, an outline of the file opens in the
Outline view. In the Outline view, you can expand or
collapse program divisions, show or hide parts of a program, or filter parts of a
program.
Procedure
- To expand the nodes in the Outline view, select Expand
Outline from the drop-down menu. To collapse the outline to the nodes, select
Collapse Outline from the menu.
- To filter the program divisions in the Outline view, click one of
the toolbar buttons at the top of the view. Click a button to activate the filter. Click it again to
restore the outline view to its original state.
Option |
Description |
 |
Sorts sibling nodes in the outline in ascending order by name. |
 |
Causes the outline view to show only the four divisions (identification division,
environment division, data division, and procedure division) in programs. The content of the
divisions is not shown. |
 |
Hides nested programs in the outline view. |
 |
Shows the data division contents in the outline view. The other divisions in the program are
hidden. |
 |
Shows the contents of the file section of the data division. |
 |
Hides subordinate data items in the outline so that only level 1 data items are shown.
|
 |
Shows the contents of the procedure division in the outline, including sections and
paragraphs in the procedure division. The identification division, data division, and environment
division are hidden. |
- To hide parts of the program according to their name:
- Select Filters from the drop-down menu.
The
COBOL Element Filters window opens.
- Type a name pattern in the field.
You can use the * and ? wildcard
characters in the filter string. Separate multiple filter strings with commas.
- Click Ignore case to match strings in upper, lower, or mixed
case.
- Click OK.
The Outline
view hides any program elements that match the filter strings entered.
- To show any of these filtered elements, select Filters again,
delete the filter strings from the field, and click OK.
-
To synchronize the editor with the Outline view, select Link
with Editor from the drop-down menu.
When you place the cursor on a line in the editor, the
Outline
view expands to display the corresponding node. To disable this behavior, clear the
Link
with Editor option on the menu.
Note: When you select a node in the
Outline view, the corresponding line in the editor is always shown. This action
affects only the link from the editor to the Outline view. It does not affect
the link from the Outline view to the editor.