| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <html lang="en"> |
| |
| <head> |
| <meta http-equiv="Content-Language" content="en-us"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <title>Displaying C/C++ file components in the C/C++ Projects view</title> |
| <link rel="stylesheet" type="text/css" href="../help.css"> |
| </head> |
| |
| <body> |
| |
| <div role="main"><h1>Displaying C/C++ file components in the C/C++ Projects view</h1> |
| |
| <p>File components are displayed in the <a href="../reference/cdt_u_cproj_view.htm">C/C++ Projects</a> view and in the <a href="../reference/cdt_u_outline_view.htm">Outline</a> |
| view. You can display or hide all file components in the C/C++ Projects view.</p> |
| |
| <p>To display file components</p> |
| |
| <ol> |
| <li>Click <strong>Window > Preferences</strong>.</li> |
| <li>In the <strong>Preferences</strong> dialog box, select <strong>C/C++ > Appearance</strong> from the list.<br> |
| <img src="../images/view_appearance_prefs.png" alt="Screen Capture of the C/C++ Appearance Preferences dialog box"></li> |
| <li>Select the <strong>Show translation unit members</strong> check box.</li> |
| <li>Click <strong>OK</strong>.</li> |
| <li>In the <strong>C/C++ Projects</strong> view, double-click a file component.<br> |
| The component is highlighted in the C/C++ editor.<br> |
| <img src="../images/view_projects.png" alt="C/C++ Projects view with file components"></li> |
| </ol> |
| |
| <p>The <strong>C/C++ Projects</strong> view can also be filtered to show certain types of file |
| components. For more information, see <a href="cdt_t_prvw_hide_files.htm">Hiding |
| files by type in the C/C++ Projects view</a>.</p> |
| |
| <p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> |
| <br> |
| <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br> |
| <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a> |
| </p> |
| <p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> |
| <br> |
| <a href="cdt_t_prvw_hide_files.htm">Hiding files by type in the C/C++ Projects |
| view</a><br> |
| <a href="cdt_t_search.htm">Searching for C/C++ elements</a><br> |
| <a href="cdt_t_open_declarations.htm">Navigate to C/C++ declarations</a><br> |
| </p> |
| <p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> |
| <br> |
| <a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p> |
| <hr > |
| <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" > |
| </div></body> |
| |
| </html> |