5
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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>Templates preferences</title>
|
|
8 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
9 |
</head>
|
|
10 |
<body>
|
|
11 |
|
|
12 |
<h1>Templates preferences</h1>
|
|
13 |
|
|
14 |
<p>Use the <b>Templates</b> preference panel to manipulate any of the common templates predefined within CDT or create your own. To modify, delete, export,
|
|
15 |
import, or create your own templates click <b>Window > Preferences > C/C++ > Templates</b>.</p>
|
|
16 |
<img src="../images/code_templates.png" alt="Templates Preferences">
|
|
17 |
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
|
18 |
<caption><b>Templates Preference Options</b></caption>
|
|
19 |
<colgroup>
|
|
20 |
<col width="30%" valign="top" >
|
|
21 |
<col width="70%" valign="top" >
|
|
22 |
</colgroup>
|
|
23 |
<tbody>
|
|
24 |
<tr>
|
|
25 |
<td><b>New...</b></td>
|
|
26 |
<td>Opens the <b>New Template</b> dialog to create a new template.</td>
|
|
27 |
</tr>
|
|
28 |
<tr>
|
|
29 |
<td><b>Edit...</b></td>
|
|
30 |
<td>Opens the <b>Edit Template</b> dialog to edit the selected template.</td>
|
|
31 |
</tr>
|
|
32 |
<tr>
|
|
33 |
<td><b>Remove</b></td>
|
|
34 |
<td>Removes the selected templates from the list.</td>
|
|
35 |
</tr>
|
|
36 |
<tr>
|
|
37 |
<td><b>Restore Removed</b></td>
|
|
38 |
<td>Restores templates deleted by the last Remove action.</td>
|
|
39 |
</tr>
|
|
40 |
<tr>
|
|
41 |
<td><b>Revert to Default</b></td>
|
|
42 |
<td>Removes the last edits made to the selected template restoring it to it's unmodified state.</td>
|
|
43 |
</tr>
|
|
44 |
<tr>
|
|
45 |
<td><b>Import...</b></td>
|
|
46 |
<td>Imports a template.</td>
|
|
47 |
</tr>
|
|
48 |
<tr>
|
|
49 |
<td><b>Export...</b></td>
|
|
50 |
<td>Exports the selected templates.</td>
|
|
51 |
</tr>
|
|
52 |
<tr>
|
|
53 |
<td><b>Use code formatter</b></td>
|
|
54 |
<td>Enable to apply the currently selected code style to the template.</td>
|
|
55 |
</tr>
|
|
56 |
</tbody>
|
|
57 |
</table>
|
|
58 |
|
|
59 |
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
|
|
60 |
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
|
|
61 |
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
62 |
<br>
|
|
63 |
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a><br>
|
|
64 |
<a href="../tasks/cdt_o_con_assist.htm">Working with Content Assist</a></p>
|
|
65 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
66 |
<br>
|
|
67 |
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
|
|
68 |
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
|
69 |
|
|
70 |
</body>
|
|
71 |
|
|
72 |
</html> |