1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
cdt/doc/org.eclipse.cdt.doc.user/reference/cdt_u_code_temp.htm

72 lines
No EOL
2.5 KiB
HTML

<!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>Templates preferences</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Templates preferences</h1>
<p>Use the <b>Templates</b> preference panel to manipulate any of the common code templates predefined within CDT or create your own. To modify, delete, export,
import, or create your own templates click <b>Window &gt; Preferences &gt; C/C++ &gt; Templates</b>.</p>
<img src="../images/code_templates.png" alt="Code Templates Preferences">
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
<caption><b>Templates Preference Options</b></caption>
<colgroup>
<col width="30%" valign="top" >
<col width="70%" valign="top" >
</colgroup>
<tbody>
<tr>
<td><dt>New...</dt></td>
<td>Opens the <b>New Template</b> dialog to create a new code template.</td>
</tr>
<tr>
<td><dt>Edit...</dt></td>
<td>Opens the <b>Edit Template</b> dialog to edit the selected code template.</td>
</tr>
<tr>
<td><dt>Remove</dt></td>
<td>Removes the selected code templates from the list.</td>
</tr>
<tr>
<td><dt>Restore Removed</dt></td>
<td>Restores templates deleted by the last Remove action.</td>
</tr>
<tr>
<td><dt>Revert to Default</dt></td>
<td>Removes the last edits made to the selected template restoring it to it's unmodified state.</td>
</tr>
<tr>
<td><dt>Import...</dt></td>
<td>Imports a code template.</td>
</tr>
<tr>
<td><dt>Export...</dt></td>
<td>Exports the selected code templates.</td>
</tr>
<tr>
<td><dt>Use code formatter</dt></td>
<td>Enable to apply the currently selected code style to the code template.</td>
</tr>
</tbody>
</table>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a><br>
<a href="../tasks/cdt_o_con_assist.htm">Working with Content Assist</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>
</html>