Displaying C/C++ file components in the C/C++ Projects view

File components are displayed in the C/C++ Projects view and in the Outline view. You can display or hide all file components in the C/C++ Projects view.

To display file components

  1. Click Window > Preferences.
  2. In the Preferences dialog box, select C/C++ > Appearance from the list.
    Screen Capture of the C/C++ Appearance Preferences dialog box
  3. Select the Show translation unit members check box.
  4. Click OK.
  5. In the C/C++ Projects view, double-click a file component.
    The component is highlighted in the C/C++ editor.
    C/C++ Projects view with file components

The C/C++ Projects view can also be filtered to show certain types of file components. For more information, see Hiding files by type in the C/C++ Projects view.

Related concepts
CDT Projects
Project file views

Related tasks
Hiding files by type in the C/C++ Projects view
Searching for C/C++ elements
Navigate to C/C++ declarations

Related reference
C/C++ editor preferences


IBM Copyright Statement