Filtering and grouping in the Outline view

You can filter the Outline view by choosing to display or hide various items, such as fields, static members, and non-public members.

Also, in the Outline view, you can group class members so that class members defined outside a class display the same way as those members defined inside a class. You can set this option by selecting Group method definitions in the Outline view from Window > Preferences > C/C++ > Appearance .

To filter in the Outline view:

  1. Select and element in the Outline view. Right-click and select either Declarations or References.
  2. select one of the following options:
    Option Description
    Project To open the C/C++ Search window to perform a text-based search of a project for the selected element.
    Workspace To perform a text-based search of a workspace for the selected element.
    Working Set… To perform a text-based search of a specified working set for the selected element.