Skip to main content
summaryrefslogtreecommitdiffstats
blob: d487aad466ebfea47a2335bb70d98fc3c852d7be (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
<!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>Preparing the Workbench</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript">
function newWin(url) {
	window.open(url, 'install_cdt', 'width=750, height=700, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
}
</script>
</head>

<body>

<h1>Preparing the Workbench</h1>

<p>This tutorial will get you started using the C/C++ Development Toolkit (CDT) in the Workbench.</p>
<p>First, you will verify that the workbench is properly configured for C/C++ development. It is assumed that:</p>
<ul>
<li>Your Workbench has its default settings.
To reset the current perspective to its original layout, from the menu bar select
<strong>Window &gt; Reset Perspective</strong>.</li>
<li>You are familiar with the basic Workbench features, such as 
<a href="../concepts/cdt_c_views.htm">views</a> and 
<a href="../concepts/cdt_c_perspectives.htm">perspectives</a>.
</li>
</ul>

<h2>Setting the operation and appearance of the C/C++ Editor</h2>

<ol>
<br><li>To open the Workbench preferences, from the menu bar, select <strong>Window &gt; Preferences</strong>.</li>
<br><li>Expand <strong>C/C++</strong> and select <strong>Editor</strong>. 

<p><br><a href="javascript:void(0)" onClick="newWin('../images/editor_general_preferences.png')">Click here to see an illustration (displayed in a separate window).</a></p></li>
<br><li>Make any changes that you require to be comfortable editing files. 
For example, you might want to enable <strong>Show line numbers</strong> or change the <strong>Problem indicator color</strong> to a different shade of red. For more information about setting preferences in the editor, see <a href="../reference/cdt_u_c_editor_gen.htm">General page Preferences window</a> in the reference section.</li>

<br><li>On the Preferences C/C++ Editor dialog, click the <strong>Colors</strong> tab. The <strong>Colors</strong> tab for the C/C++ Editor preferences dialog displays.</p><p><br><a href="javascript:void(0)" onClick="newWin('../images/editor_color_preferences.png')">Click here to see an illustration.</a></p>

<br>Again, make any changes that will be useful for your working habits and click <strong>OK</strong>. For more information see the <a href="../reference/cdt_u_c_editor_color.htm">Color page Preferences window</a> in the reference section.</li>

<br><li>On the <strong>Preferences C/C++ Editor</strong> dialog, click the <strong>Content Assist</strong> tab. The <strong>Preferences C/C++ Editor</strong> dialog's <strong>Content Assist</strong> tab appears.<br>
<p><br><a href="javascript:void(0)" onClick="newWin('../images/contentAssist_preferences.png')">Click here to see an illustration.</a></p>


<p><br>If you want to set an auto-activation delay or change the background for completion proposals, do so now. For more information see the <a href="../reference/cdt_u_c_editor_con_assist.htm">Content Assist page Preferences window</a> in the reference section.</p></li>
<br><li>Leave the preferences by clicking <strong>OK</strong>.</li>
</ol>


<p><img src="../images/ngref.gif" alt="Related reference">
<br><a href="../reference/cdt_o_ceditor_pref.htm">C/C++ Editor Preferences</a></p>


<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"><br>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</p>


</body>
</html>

Back to the top