carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_imp_code_temp.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_imp_code_temp.htm	Fri Dec 04 10:01:33 2009 -0600
@@ -0,0 +1,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>Importing and exporting templates</title>
+<link rel="stylesheet" type="text/css" href="../help.css">
+</head>
+
+<body>
+
+<h1>Importing and exporting templates</h1>
+
+<p>You can import and export templates.</p>
+
+<p><b>Note:</b> A template must be an .xml file formatted as follows:</p>
+
+<pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; 
+&lt;templates&gt;
+&lt;template name=&quot;author&quot; description=&quot;author name&quot; context=&quot;C&quot; enabled=&quot;true&quot;&gt;author ${user}&lt;/template&gt; 
+&lt;/templates&gt;</pre>
+<img src="../images/code_templates.png" alt="Templates Preferences">
+
+<p>To import a template</p>
+<ol>
+  <li>Click <b>Window &gt; Preferences</b>.</li>
+  <li>Expand <b>C/C++</b>, expand <b>Editor</b> and click <b>Templates</b>.
+  </li>
+  <li>Click <b>Import</b>.</li>
+  <li>Select the template file that you want to import.</li>
+  <li>Click <b>OK</b>.<br>
+  The template list is updated to include the template that you imported.</li>
+</ol>
+<p>To export a template</p>
+
+<ol>
+  <li>Click <b>Window &gt; Preferences</b>.</li>
+  <li>Expand <b>C/C++</b>, expand <b>Editor</b> and click <b>Templates</b>.</li>
+  <li>Select the templates that you want to export and click the <b>Export...</b> button. The Export Templates dialog opens.</li>
+  <li>In <b>File name</b> box, type the path&nbsp; where you want your templates file to be saved.</li>
+  <li>Click <b>Save</b>.<br>
+  The templates.xml file containing the templates you exported is saved in your file system.</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_contentassist.htm">Using Content Assist</a><br>
+<a href="cdt_t_add_codetemp.htm">Creating and editing templates</a></p>
+<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
+<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