Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b858ccb2877da00575e3ea7e125ee5ddc7651e47 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!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>C/C++ Project View</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>

<h1>C/C++ Projects view</h1>
<p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.ui.CView)")'>C/C++ Project</a> view displays, in a tree structure, only elements relevant to C and C++ project files, similar to the <a href="cdt_u_project_explorer_view.htm">Project Explorer</a> view.  In this view you can do the following: 
<ul>
	<li>Browse the elements of C/C++ source files</li>
	<li>Open files in the editor view</li>
	<li>Open projects in a new window</li>
	<li>Create new projects, classes, files, or folders</li>
	<li>Manage existing files (cut, paste, delete, move or rename)</li>	
	<li>Restore deleted files from local history</li>
	<li>Import or Export files and projects</li>
</ul>

<p>Files that you select in the <strong>C/C++ Projects</strong> view  affect the information that is displayed in other views.</p>
<p>Right-click on any resource in the Project Explorer view to open a pop-up menu that allows you to perform operations such as copying, moving, creating new resources, comparing resources with each other, or performing team operations.</p>
<p><img img src="../images/view_projects.png" alt="C/C++ Projects View"></p>


<h2>C/C++ Projects toolbar options</h2>
<p>The table below lists the toolbar options displayed in the C/C++ Projects view.</p>

<p><table border="1" cellpadding="3" cellspacing="0" width="600px" bordercolor="#DDDDDD" >
	<colgroup>
		<col width="5%" valign="top" >
		<col width="20%" valign="top" >
		<col width="75%" valign="top" >
	</colgroup>
 	<tr>
		<th>Icon</th>
		<th>Name</th>	
		<th>Description</th>
	 </tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_con_min.png" alt="Minimize Icon"></td>
		<td valign="top"><strong>Minimize</strong></td>
		<td valign="top">Minimizes the view.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_con_max.png" alt="Maximize Icon"></td>
		<td valign="top"><strong>Maximize</strong></td>
		<td valign="top">Maximizes the view.</td>
	</tr>
	<tr>
	<td align="center" valign="top"><img src="../images/icon_back.png" alt="Back Icon"></td>
	<td valign="top"><strong>Back</strong></td>
	<td valign="top">This command displays the hierarchy that was displayed immediately prior to the current display.&nbsp;
			For example, if you Go Into a resource, then the Back command in the resulting display returns the view to the same hierarchy from which you activated the
			<em> Go Into</em> command. The hover help for this button tells you where it will take you. This command is similar to the Back button in a web browser.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_forward.png" alt="Forward Icon"></td>
		<td valign="top"><strong>Forward</strong></td>
		<td valign="top">This command displays the hierarchy that was displayed immediately after the current display.&nbsp;
				For example, if you've just selected the Back command, then selecting the Forward command in the resulting display returns the view to the same hierarchy from which you activated the Back command.&nbsp;The
				hover help for this button tells you where it will take you.
				This command is similar to the Forward button in a web browser.</td>
	</tr>
	<tr>
	<td align="center" valign="top"><img src="../images/icon_up.png" alt="Up Icon"></td>
		<td valign="top"><strong>Up</strong></td>
		<td valign="top">This command displays the hierarchy of the parent of the current highest level resource. The hover help for this button tells you where it will take you.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_collapse_all.png" alt="Collapse All Icon"></td>
		<td valign="top"><strong>Collapse All</strong></td>
		<td valign="top">This command collapses the tree expansion state of all resources in the view.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_link_with_editor.png" alt="Link with Editor Icon"></td>
		<td valign="top"><strong>Link with Editor</strong></td>
		<td valign="top">This command toggles whether the view selection is linked to the active editor. 
				When this option is selected, changing the active editor will automatically update the selection to the resource being edited.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_menu.png" alt="View Menu Icon"></td>
		<td valign="top"><strong>Menu</strong></td>
		<td valign="top">Click the white upside-down triangle icon to open a menu of items specific to the view.<br><br>
									<dl>
										<p><dt>Select Working Set</dt>
											<dd>Opens the <strong>Select Working Set</strong> dialog to allow selecting a working set for the view.</dd><p></p>
										<p><dt>Deselect Working Set</dt>
											<dd>Deselects the current working set. </dd><p></p>
										<p><dt>Edit Active Working Set</dt>
											<dd>Opens the <strong>Edit Working Set</strong> dialog to allow changing the current working set.</dd><p></p>
										<p><dt>Filters</dt>
											<dd>This command allows you to select filters to apply to the view so that you can show or hide various resources as needed. 
													File types selected in the list will not be shown in the C/C++ Projects view.<dd><p></p>
										<p><dt>Link with Editor</dt>
											<dd>See the toolbar item description above.</dd><p></p>
									</dl></td>
	</tr>	
</table><p></p>


<h2>C/C++ Projects view icons</h2>

<p>The table below lists the icons displayed in the C/C++ Projects view.</p>

<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDDDDD" width="34%">
  <tr>
    <td width="19%" align="center"><strong>Icon</strong></td>
    <td width="81%"><strong>Description</strong></td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_file_obj.gif" width="16" height="16" alt="C or C++ file Icon"></td>
    <td width="81%">C or C++ file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_exe_obj.png" width="16" height="16" alt="Executable file icon"></td>
    <td width="81%">Debuggable executable file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_object_file.png" width="16" height="17" alt="C or C++ object file icon"></td>
    <td width="81%">Object file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/class_obj.gif" width="16" height="16" alt="Class Icon"></td>
    <td width="81%">Class</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/define_obj.gif" width="16" height="16" alt="Macro Definition Icon"></td>
    <td width="81%">Macro Definition</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/enum_obj.gif" width="16" height="16" alt="Enum Icon"></td>
    <td width="81%">Enum</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/enumerator_obj.gif" width="16" height="16" alt="Enumerator Icon"></td>
    <td width="81%">Enumerator</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/var_declaration_obj.gif" width="16" height="16" alt="Variable Icon"></td>
    <td width="81%">Variable</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_private_obj.gif" width="16" height="16" alt="Field private icon"></td>
    <td width="81%">Field private</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_protected_obj.gif" width="16" height="16" alt="Field protected icon"></td>
    <td width="81%">Field protected</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_public_obj.gif" width="16" height="16" alt="Field public icon"></td>
    <td width="81%">Field public</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/include_obj.gif" width="16" height="16" alt="Include icon"></td>
    <td width="81%">Include</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/makefile.gif" width="16" height="16" alt="Makefile icon"></td>
    <td width="81%">Makefile</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_private_obj.gif" width="16" height="16" alt="Method private icon"></td>
    <td width="81%">Method private</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_protected_obj.gif" width="16" height="16" alt="Method protected icon"></td>
    <td width="81%">Method protected</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_public_obj.gif" width="16" height="16" alt="Method public icon"></td>
    <td width="81%">Method public</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/namespace_obj.gif" width="16" height="16" alt="Namespace icon"></td>
    <td width="81%">Namespace</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/namespace_declared_obj.png" width="17" height="16" alt="Namespace declared icon"></td>
    <td width="81%">Namespace declared</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/struct_obj.gif" width="16" height="16" alt="Struct icon"></td>
    <td width="81%">Struct</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/typedef_obj.gif" width="16" height="16" alt="Type definition icon"></td>
    <td width="81%">Type definition</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/union_obj.gif" width="16" height="16" alt="Union icon"></td>
    <td width="81%">Union</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/function_obj.gif" width="16" height="16" alt="Function icon"></td>
    <td width="81%">Function</td>
  </tr>
</table>

<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<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="../tasks/cdt_t_show_proj_files.htm">Displaying C/C++ file components in the C/C++ Projects view</a>
<br><a href="../tasks/cdt_t_prvw_hide_files.htm">Hiding files by type in the C/C++ Projects view</a></p>

<p><img src="../images/ngref.gif" ALT="Related references" width="143" height="21">
<br><a href="../reference/cdt_u_project_explorer_view.htm">Project Explorer view</a></p>
<br><a href="../reference/cdt_o_views.htm">C/C++ Views</a></p>
<hr />
<p>
<img img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement">  <br>
<img img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >  
</p>

</body>
</html>

Back to the top