Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c400fc9377c2fdf626cbdb2516eef5ce4defc684 (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
<!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">
</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>In this section, you will verify that the workbench is properly set up 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 choose 
<b>Window > Reset Perspective</b>.</li>
<li>You are familiar with the basic Workbench mechanisms, such as 
<a href="../concepts/cdt_o_views.htm">views</a> and 
<a href="../concepts/cdt_o_perspectives.htm">perspectives</a>.
</li>
</ul>

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

<ol>
<br><li>Open the Workbench preferences: from the menu bar, select <b>Window &gt; Preferences</b>.</li>
<br><li>Expand the <b>C/C++</b> heading and click on <b>C/C++ Editor</b>. The <b>Preferences C/C++ Editor</b> dialog's <b>General</b> tab appears.
<p><img src="../images/editor_general_preferences.png" alt="C/C++ Editor Preferences General page"></li>
<br><li>Make any changes that you require to be comfortable editing files. 
For example, you may want to enable <b>Show line numbers</b> or you may want to make the <b>Problem indicator color</b> a different shade of red. For more information see the <a href="../reference/cdt_u_c_editor_gen.htm">General page Preferences window</a> in the reference section.</li>

<br><li>On the <b>Preferences C/C++ Editor</b> dialog, click the <b>Colors</b> tab. The <b>Preferences C/C++ Editor</b> dialog's <b>Colors</b> tab appears.</p>
<img src="../images/editor_color_preferences.png" alt="C/C++ Editor Preferences Color page">

<br>Again, make any changes that will be useful for your working habits and click <b>OK</b>. 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 <b>Preferences C/C++ Editor</b> dialog, click the <b>Content Assist</b> tab. The <b>Preferences C/C++ Editor</b> dialog's <b>Content Assist</b> tab appears.<br>
<img src="../images/contentAssist_preferences.png" alt="C/C++ Editor Preferences Content Assist page">
<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.</li>
<br><li>Leave the preferences by clicking <b>OK</b>.</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