Scope Outline

The Outline view displays the structure of the lexical scopes for the C/C++ file or the paragraphs of the COBOL file that is currently open in the Performance Source Viewer.

The view contains a column that shows the aggregated percentage of all the lines in each lexical scope / paragraph.

Keyword Highlighting

All C and C++ keywords are highlighted with the same color and font settings used by the Performance Source Viewer. This helps to improve the readability of the text and makes it easier to identify structures such as blocks and loops.

To disable keyword highlighting toggle the Highlight Keywords option in the view menu.

To change the color and style of the highlighting open the preferences dialog from the main menu at Window > Preferences, then navigate to the preferences page found under C/C++ > Editor > Syntax Coloring or COBOL > Editor > Syntax Coloring. For C/C++, the coloring is controlled by two of the categories in the elements list: Code > Built-in Types and Code > Keywords

View Toolbar

Button Command Description
Sort By Name Sorts the functions alphabetically.
Collapse All Collapse all tree nodes.

Toolbar Menu

Command Description
Link with editor Toggles linking with the Performance Source Viewer. When linking is enabled the Outline view and the Performance Source Viewer will stay synchronized with each other whenever the selection in either changes.
Highlight Keywords Toggles syntax coloring of C/C++ keywords and built-in types.
Preferences... Opens the preferences dialog.

Feedback