|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 <html lang="en"> |
|
3 |
|
4 <head> |
|
5 <meta http-equiv="Content-Language" content="en-us"> |
|
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
7 <title>Displaying C/C++ file components in the C/C++ Projects view</title> |
|
8 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
9 </head> |
|
10 |
|
11 <body> |
|
12 |
|
13 <h1>Displaying C/C++ file components in the C/C++ Projects view</h1> |
|
14 |
|
15 <p>File components are displayed in the C/C++ Projects view and in the Outline |
|
16 view. You can display or hide all file components in the C/C++ Projects view.</p> |
|
17 |
|
18 <p>To display file components</p> |
|
19 |
|
20 <ol> |
|
21 <li>Click <b>Window > Preferences</b>.</li> |
|
22 <li>In the Preferences dialog box, select <b>C/C++ > Appearance</b> from the list.<br> |
|
23 <img src="../images/c_cpp_app_preferences.png" alt="Screen Capture of the C/C++ Appearance Preferences dialog box"></li> |
|
24 <li>Select the <b>Show translation unit members</b> check box.</li> |
|
25 <li>Click <b>OK</b>.</li> |
|
26 <li>In the C/C++ Projects view, double-click a file component.<br> |
|
27 The component is highlighted in the C/C++ editor.<br> |
|
28 <img src="../images/view_projects.png" alt="C/C++ Projects view with file components"></li> |
|
29 </ol> |
|
30 |
|
31 <p>The C/C++ Projects view can also be filtered to show certain types of file |
|
32 components. For more information, see <a href="cdt_t_prvw_hide_files.htm">Hiding |
|
33 files by type in the C/C++ Projects view</a>.</p> |
|
34 |
|
35 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> |
|
36 <br> |
|
37 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br> |
|
38 <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a> |
|
39 </p> |
|
40 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> |
|
41 <br> |
|
42 <a href="cdt_t_prvw_hide_files.htm">Hiding files by type in the C/C++ Projects |
|
43 view</a><br> |
|
44 <a href="cdt_t_search.htm">Searching for C/C++ elements</a><br> |
|
45 <a href="cdt_t_open_declarations.htm">Navigate to C/C++ declarations</a><br> |
|
46 </p> |
|
47 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> |
|
48 <br> |
|
49 <a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p> |
|
50 <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" > |
|
51 |
|
52 </body> |
|
53 |
|
54 </html> |