Customizing the Outline view
The Outline view shows a symbol tree of the currently active editor. IBM Z Open Editor maps each symbol to a language element of COBOL, PL/I, HLASM, and REXX.
However, you might not want every symbol to display in the Outline view. To control which ones appear, you can modify the User or Workspace settings. At this time, the REXX Outline view displays the internal routine symbol only.
Enabling or disabling Outline view symbols
Navigate to your User and Workspace settings using the following VS Code menu command:
- Windows/Linux: File > Preferences > Settings
- MacOS: Code > Preferences > Settings
Note: VS Code provides different scopes for defining these settings. For more information, see User preferences versus workspace preferences.
Outlinein the search box to filter the settings.
Enable or disable the Outline view settings based on your needs. Refer to the Outline view symbol mapping reference to understand which settings affect which symbols.
If you would rather modify the Outline view settings in their raw JSON form, run one of the following commands using the Command Palette. Note that it is not recommended to change the Default settings.
|Command Palette (⇧⌘P) (Ctrl+Shift+P)||Settings|
Outline view symbol mapping reference
Note that some symbols are used more than once. This is expected behavior.
This table highlights the relationship between Outline view settings in JSON form and UI form.
|Symbol||COBOL Language Element||Visual Studio Code Setting|
|LEVEL_1_HAS_NO_SUBFIELDS, LEVEL_3, LEVEL_X|
|Symbol||PL/I Language Element||Visual Studio Code Setting|
|Symbol||HLASM Language Element||Visual Studio Code Setting|
|Symbol||REXX Language Element||Visual Studio Code Setting|