Displaying file structure in the Project Explorer view

File components are displayed in the Project Explorer view and in the Outline view. You can display or hide all file components in the Project Explorer 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 Project Explore view, double-click a file component.
    The component is highlighted in the C/C++ editor.
    C/C++ Projects view with file components

Related concepts
Projects
Project file views

Related tasks
Searching for C/C++ elements
Navigate to element declarations

Related reference
Source editor preferences


IBM Copyright Statement