carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_contentassist.htm
changeset 5 684bf18fdedf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_contentassist.htm	Fri Dec 04 10:01:33 2009 -0600
@@ -0,0 +1,70 @@
+<!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>Using Content Assist</title>
+<link rel="stylesheet" type="text/css" href="../help.css">
+</head>
+
+<body>
+
+<h1>Using Content Assist</h1>
+
+<p>Use Content Assist to insert C/C++ elements of your project, and templates into your code. You can insert a template into your source code rather than retyping 
+commonly-used snippets of code.</p>
+
+<p>To insert a template or element:</p>
+
+<ol>
+  <li>In the C/C++ editor, type at least the first letter of a template or 
+  element then <b>Ctrl+Space</b>.<br>
+  A list displays the templates 
+    <img border="0" src="../images/template_obj.gif" alt="Templates icon" width="16" height="16"> followed by the elements that start with the letter combination you typed.</li><br>
+	<img src="../images/contentAssist_example.png" alt="Editor View showing Content Assist Example">
+	
+  <li>Do one of the following: 
+  <ul>
+    <li>Continue typing. The list shortens. When there is only one item in the 
+    list, it is automatically inserted.</li>
+    <li>Double-click an item in the list to insert it into your code. </li>
+    <li>Press <b>Esc</b> to close the Content Assist Window.</li>
+  </ul>
+  </li>
+</ol>
+
+<p>To set Content Assist preferences:</p>
+<ol>
+  <li>Click <b>Window &gt; Preferences</b>.</li>
+  <li>Expand <b>C/C++</b> and <b>Editor</b>.</li>
+  <li>Select <b>Content Assist</b>.<br>
+  <img src="../images/contentAssist_preferences.png"  alt="Content Assist Preferences"></li>
+  <li>Do the following: 
+  <ul>
+	<li>To insert an element when you open Content Assist and it is the only 
+    item in the list, select the <b>Insert single proposals automatically</b> check box.</li>
+    <li>To automatically insert a common prefix of all proposals, select the <b>Insert common prefixes automatically</b> checkbox.</li>
+    <li>To display proposals in alphabetical order, rather than by relevance, select the <b>Present proposals in alphabetical order</b> checkbox. </li>
+	<li>To change <b>Auto-Activation</b> of content assist for ".", "->" or "::" triggers, select the appropriate checkboxes.</li>
+  </ul>
+  </li>
+  <li>Click <b>OK</b>.</li>
+</ol>
+<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
+<br>
+<a href="../concepts/cdt_c_content_assist.htm">Content Assist</a></p>
+<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
+<br>
+<a href="cdt_t_add_codetemp.htm">Creating and editing templates</a><br>
+<a href="cdt_t_imp_code_temp.htm">Importing and exporting templates</a></p>
+<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
+<br>
+<a href="../reference/cdt_u_c_editor_con_assist.htm">Content Assist page</a><br>
+<a href="../reference/cdt_u_code_temp.htm">Templates page</a></p>
+<p>
+<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
+
+</body>
+
+</html>
\ No newline at end of file