Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

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.

Editor View highlighting corrisponding element in the Outline View

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

  • Class
  • Namespace
  • Include
  • Enum
  • Enumerator
  • Field private
  • Field protected
  • Field public
  • Include
  • Method private
  • Method protected
  • Method public
  • Struct
  • Typedef
  • Union
  • Variable
  • Function
  • Macro Definition

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.

Filtering the Outline View

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

  • Fields
  • Static members
  • Non-public members

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

  • Open the C/C++ Search window box. The Search string box is populated and the element type is selected.
  • Complete a text-based search, of a workspace or a specified working set for the selected element.
  • Open a selected .h file in the editor.
  • Rename Refactor


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
Content Assist and code completion
C/C++ search
Open Declaration

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

Related reference
Outline view

IBM Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire