mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
63 lines
No EOL
2.4 KiB
HTML
63 lines
No EOL
2.4 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>Code Templates page, Preferences window</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
<script>
|
|
function changeSize(theImage,wd,ht) {
|
|
wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
|
|
if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
|
|
else {wdth=wd;hght=ht;}
|
|
theImage.style.width=wdth; theImage.style.height=hght;
|
|
}
|
|
</script>
|
|
</head>
|
|
<!--INFOPOP
|
|
Create, edit, remove, import, or export code templates.
|
|
END INFOPOP-->
|
|
|
|
<body>
|
|
|
|
<h1>Code Templates page, Preferences window</h1>
|
|
|
|
<p>You can manipulate any of the common code templates that are predefined within the CDT. To modify, delete, export,
|
|
import, or create your own templates click <b>Window > Preferences > C/C++ > Code Templates</b>.</p>
|
|
|
|
<img src="../images/code_templates.png" width="369" height="270" onClick="changeSize(this,369,270);"
|
|
alt="Code Templates Dialog Box" title="click to toggle image size">
|
|
<dl>
|
|
<dt>New</dt>
|
|
<dd>Creates a new code template.</dd>
|
|
<dt>Edit</dt>
|
|
<dd>Edits the code template that is selected in the list.</dd>
|
|
<dt>Remove</dt>
|
|
<dd>Removes the selected code templates from the list.</dd>
|
|
<dt>Import</dt>
|
|
<dd>Imports a code template.</dd>
|
|
<dt>Export</dt>
|
|
<dd>Exports the selected code templates.</dd>
|
|
<dt>Export All</dt>
|
|
<dd>Exports all templates in the list.</dd>
|
|
<dt>Enable All</dt>
|
|
<dd>Makes all templates available when you invoke the Content Assist feature.</dd>
|
|
<dt>Disable All</dt>
|
|
<dd>Makes all templates unavailable when you invoke the Content Assist feature. </dd>
|
|
</dl>
|
|
|
|
<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/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
|
|
|
</body>
|
|
|
|
</html> |