Outline view

The Outline view displays an outline of a structured C/C++ file that is currently open in the editor area, by listing the structural elements.

Screen capture detailing a sample application in the editor with corrisponding element in the Outline View

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 move to the start of main() in the C/C++ editor, click main() in the Outline view.

For more information about 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 perform the following actions:

Icons

Hide Fields Button Hide Fields
Hide Static Members Button Hide Static Members
Hide Non Public Members Button Hide Non-Public Members
Sort Button Sort

For more information about the Eclipse workbench, see Workbench User Guide > Tasks > Upgrading Eclipse.

For more information about Working sets, see Workbench User Guide > Concepts > Working sets.

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