|
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>Preparing the Workbench</title> |
|
8 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
9 <script language="JavaScript"> |
|
10 function newWin(url) { |
|
11 window.open(url, 'install_cdt', 'width=750, height=700, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes'); |
|
12 } |
|
13 </script> |
|
14 </head> |
|
15 |
|
16 <body> |
|
17 |
|
18 <h1>Preparing the Workbench</h1> |
|
19 |
|
20 <p>This tutorial will get you started using the C/C++ Development Toolkit (CDT) in the Workbench.</p> |
|
21 <p>First, you will verify that the workbench is properly configured for C/C++ development. It is assumed that:</p> |
|
22 <ul> |
|
23 <li>Your Workbench has its default settings. |
|
24 To reset the current perspective to its original layout, from the menu bar select |
|
25 <b>Window > Reset Perspective</b>.</li> |
|
26 <li>You are familiar with the basic Workbench features, such as |
|
27 <a href="../concepts/cdt_c_views.htm">views</a> and |
|
28 <a href="../concepts/cdt_c_perspectives.htm">perspectives</a>. |
|
29 </li> |
|
30 </ul> |
|
31 |
|
32 <h2>Setting the operation and appearance of the C/C++ Editor</h2> |
|
33 |
|
34 <ol> |
|
35 <br><li>To open the Workbench preferences, from the menu bar, select <b>Window > Preferences</b>.</li> |
|
36 <br><li>Expand <b>C/C++</b> and select <b>Editor</b>. |
|
37 |
|
38 <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> |
|
39 <br><li>Make any changes that you require to be comfortable editing files. |
|
40 For example, you might want to enable <b>Show line numbers</b> or change the <b>Problem indicator color</b> 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> |
|
41 |
|
42 <br><li>On the Preferences C/C++ Editor dialog, click the <b>Colors</b> tab. The <b>Colors</b> 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> |
|
43 |
|
44 <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> |
|
45 |
|
46 <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> |
|
47 <p><br><a href="javascript:void(0)" onClick="newWin('../images/contentAssist_preferences.png')">Click here to see an illustration.</a></p> |
|
48 |
|
49 |
|
50 <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> |
|
51 <br><li>Leave the preferences by clicking <b>OK</b>.</li> |
|
52 </ol> |
|
53 |
|
54 |
|
55 <p><img src="../images/ngref.gif" alt="Related reference"> |
|
56 <br><a href="../reference/cdt_o_ceditor_pref.htm">C/C++ Editor Preferences</a></p> |
|
57 |
|
58 |
|
59 <p> |
|
60 <img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"><br> |
|
61 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > |
|
62 </p> |
|
63 |
|
64 |
|
65 </body> |
|
66 </html> |