Outline view

The Outline view gives you a language-based structural view of your C/C++ source code.

The Outline view shows the following elements in the source file in the order in which they occur:

You can also sort the list alphabetically. When you select an element in the Outline view, the C/C++ editor highlights both the selected item and the marker bar (left margin). For example, to jump to the start of main() in the C/C++ editor, click main() in the Outline view.

For more information on the marker bar, see Workbench User Guide > Reference > User interface information > Views and editors > Editor area.

You can filter the Outline view by choosing to display or hide the following items:

You can select an element in the Outline view, and do the following:

For more information on:

Related concepts
Comments
Content Assist and code completion
C/C++ search
Open Declarations
 

Related tasks
Displaying C/C++ file components in the C/C++ Projects view
Searching for C/C++ elements

Related reference
Outline view
 

IBM Copyright Statement