2.1.3. Outline View

The outline view gives a quick outline of the complete source file.

  • What source files is it including?
  • What are the variables in this file?
  • What are the functions?
  • Classes?
  • Etc.

Here is the Outline view of example.c

../../../_images/c-outline-view-of-example.png

Outline view of example.c

This view can be configured. The view has following buttons.

Preferences for Outline View

This is the explanation of each of them (from left to right).

  1. Show the view sorted, not as in source file
  2. Do not show fields ( Member variables)
  3. Do not show static members
  4. Only show public members
  5. Hide compiler/pre processor inactive switches

Similar to the Project Explorer, this view also has advanced preferences.

Advanced preferences of Outline View

If the outline view is linked to Eclipse Editor view, we can see the mapping between the two views. In the image below, selection of CHECK_ERR is synchronized between editor and outline. The left pane of the editor also gives a hint about the lines covered by CHECK_ERR.

Outline view linked with the Editor.