Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 50f5e8714fa4529e569162961944531ed93695c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<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>

<h1>Displaying C/C++ file components in the C/C++ Projects view</h1>

<p>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.</p>

<p>To display file components</p>

<ol>
  <li>Click <b>Window &gt; Preferences</b>.</li>
  <li>In the Preferences dialog box, select <b>C/C++</b> from the list.<br>
  <img src="../images/c_cpp_preferences.png" alt="Screen Capture of the C/C++ Preferences dialog box"></li>
  <li>Select the <b>Show file members in Project View</b> check box.</li>
  <li>Click <b>OK</b>.</li>
  <li>In the C/C++ Projects 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 C/C++ Projects 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 border="0" 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 border="0" 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>
<a href="cdt_t_open_definitions.htm">Navigate to C/C++ definitions</a>
</p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor, code templates and search 
preferences</a></p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >

</body>

</html>

Back to the top