Using the Outline view in the Remote C/C++ Editor

The Outline view is a tree representation of the current C/C++ file that you are editing. It is updated as text is modified in the editor.

About this task

This view displays a structural view of C elements such as structures, methods, and included header files. When you select any of these elements in the Outline view, the editor moves to the location of the element in the source file.

The Remote C/C++ Editor also supports a quick outline while editing C/C++ files by using the Ctrl+O keys.

You can display the following elements in the Outline view:
  • Class
  • Namespace
  • Macro Definition
  • Enum
  • Enumerator
  • Variable
  • Field private
  • Field protected
  • Field public
  • Include
  • Method private
  • Method protected
  • Method public
  • Struct
  • Type definition
  • Union
  • Function
You can customize the Outline view by ordering or filtering elements according to certain criteria using the view toolbar. For example, you can:
  • Order the Outline view alphabetically.
  • Hide fields.
  • Hide static members.
  • Hide all non-public members.
  • Group all header file include statements into a single include directives element in the Outline view.
  • Filter based on element type. For example, you can select the macro directives element to hide all macro directives in the Outline view. You can also select the using directives element to hide all using directives in the Outline view.
  • Filter based on element name. You can specify a name pattern that includes wildcard characters. Any elements that match the name pattern are not displayed in the Outline view.