carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/getting_started/cdt_w_prepare_workbench.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
<title>Preparing the Workbench</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
<script language="JavaScript">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
function newWin(url) {
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
	window.open(url, 'install_cdt', 'width=750, height=700, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
</script>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
<h1>Preparing the Workbench</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
<p>This tutorial will get you started using the C/C++ Development Toolkit (CDT) in the Workbench.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
<p>First, you will verify that the workbench is properly configured for C/C++ development. It is assumed that:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
<ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
<li>Your Workbench has its default settings.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
To reset the current perspective to its original layout, from the menu bar select
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
<b>Window &gt; Reset Perspective</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
<li>You are familiar with the basic Workbench features, such as 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
<a href="../concepts/cdt_c_views.htm">views</a> and 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
<a href="../concepts/cdt_c_perspectives.htm">perspectives</a>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
</ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
<h2>Setting the operation and appearance of the C/C++ Editor</h2>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
<br><li>To open the Workbench preferences, from the menu bar, select <b>Window &gt; Preferences</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
<br><li>Expand <b>C/C++</b> and select <b>Editor</b>. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<br><li>Make any changes that you require to be comfortable editing files. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
<p><br><a href="javascript:void(0)" onClick="newWin('../images/contentAssist_preferences.png')">Click here to see an illustration.</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    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>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<br><li>Leave the preferences by clicking <b>OK</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
<p><img src="../images/ngref.gif" alt="Related reference">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
<br><a href="../reference/cdt_o_ceditor_pref.htm">C/C++ Editor Preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
<p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
</html>