Fix for 182842: [patch] Editor pref panels out of date (Patch by L. Frank Turovich <frank.turovich@nokia.com>)
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 23 KiB |
|
@ -14,12 +14,14 @@
|
|||
|
||||
<p>This section describes how to set preferences for the C/C++ editor.</p>
|
||||
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_gen.htm">General preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_color.htm">Color preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_gen.htm">Editor preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_con_assist.htm">Content Assist preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_hov.htm">Hover preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_navigation.htm">Navigation preferences</a><br>
|
||||
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_con_assist_adv.htm">Advanced preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_folding.htm">Folding preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_hov.htm">Hovers preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_color.htm">Syntax Coloring preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_code_temp.htm">Templates preferences</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_u_c_editor_typing.htm">Typing preferences</a>
|
||||
|
||||
<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" ></p>
|
||||
|
||||
|
|
|
@ -11,43 +11,49 @@
|
|||
|
||||
<h1>Content Assist preferences</h1>
|
||||
|
||||
<p>You can customize the Content Assist feature on the Contents Assist page of the C/C++ Editor Preferences window. To change the Content Assist preferences click
|
||||
<b>Window > Preferences > C/C++ > C++ Editor > Content Assist.</b></p>
|
||||
<p>You can customize the Content Assist feature on the <b>Contents Assist</b> panel of the Preferences window. To change the Content Assist preferences click
|
||||
<b>Window > Preferences > C/C++ > Editor > Content Assist.</b></p>
|
||||
<p><img src="../images/contentAssist_preferences.png" alt="Content Assist Preferences Dialog Box"></p>
|
||||
|
||||
<dl>
|
||||
<p><dt>Search scope for completion proposals</dt>
|
||||
<dd>You can configure the Content Assist feature to select proposals from items contained only in the current file and included files, or from the current project.</dd>
|
||||
|
||||
<p><dt>Insert single proposals automatically</dt>
|
||||
<dd>Inserts an element into your code when the Content Assist feature finds only one proposal.</dd>
|
||||
|
||||
<p><dt>Present proposals in alphabetical order</dt>
|
||||
<dd>Proposals, by default, appear in order of relevance determined by context, scope and prefix. Alternatively, you can configure the Content Assist feature to order its proposals alphabetically.</dd>
|
||||
|
||||
<p><dt>Content Assist parsing timeout (ms)
|
||||
<dd>For very large projects, the Content Assist feature might slow the response of the plug-in as the Content Assist feature parses the project for proposals. This setting stops the Content Assist parse when it reaches the specified threshold.<dd>
|
||||
|
||||
<p><dt>Auto activation</dt>
|
||||
<dd>Certain predefined triggers force the Content Assist feature to activate. You can disable the predefined triggers with these checkboxes.
|
||||
|
||||
<p><dt>Auto activation delay</dt>
|
||||
<dd>Specifies the number of milliseconds before Content Assist is activated, in Autoactivation mode.</dd>
|
||||
|
||||
<p><dt>Background for completion proposals</dt>
|
||||
<dd>Specifies the background color of the Content Assist dialog box.</dd>
|
||||
|
||||
<p><dt>Foreground for completion proposals</dt>
|
||||
<dd>Specifies the foreground color of the Content Assist dialog box.</dd>
|
||||
|
||||
<p><dt>Completion Proposal Filter</dt>
|
||||
<dd>Completion proposal filters may have been supplied with your eclipse CDT distribution.
|
||||
Completion proposal filters can sort and order the proposals
|
||||
provided by the Content Assist feature to best suit your needs.
|
||||
Select the desired content assist filter from the list of available filters.
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Content Assist Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>Insert single proposals automatically</dt></td>
|
||||
<td>Inserts an element into your code when the Content Assist feature finds only one proposal.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Insert common prefixes automatically</dt></td>
|
||||
<td>Inserts common prefixes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Completion Proposal Filter</dt></td>
|
||||
<td>Completion proposal filters may have been supplied with your Eclipse CDT distribution.
|
||||
Completion proposal filters can sort and order the proposals provided by the Content Assist feature to best suit your needs.
|
||||
Select the desired content assist filter from the list of available filters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Enable "." as trigger</dt></td>
|
||||
<td>Enable to use "." as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Enable "->" as trigger</dt></td>
|
||||
<td>Enable to use "->" as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Enable "::" as trigger</dt></td>
|
||||
<td>Enable to use "::" as a trigger for auto-completion.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>delay (ms)</dt></td>
|
||||
<td>Specifies the number of milliseconds before Content Assist is activated.</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>
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
<!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>Advanced preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Advanced preferences</h1>
|
||||
|
||||
<p>Use the <b>Advanced</b> panel in the Preferences window to configure the behavior of the Content Assist (Ctrl+Space) command.</p>
|
||||
<p><img src="../images/contentAssist_adv_preferences.png" alt="Content Assist Preferences Dialog Box"></p>
|
||||
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Advanced Content Assist Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>Default Proposal Kindsy</dt></td>
|
||||
<td>Specifies the types of proposals Content Assist uses and the key bindings assigned.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Content Assist Cycling</dt></td>
|
||||
<td>Specifies the order and types of proposals Content Assist will cycle through.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Up</dt></td>
|
||||
<td>Moves the selected proposal item up in the cycling list.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Down</dt></td>
|
||||
<td>Moves the selected proposal item down in the cycling list.</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>
|
|
@ -0,0 +1,94 @@
|
|||
<!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>Folding preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Folding preferences</h1>
|
||||
|
||||
<p>You can customize the C/C++ editor folding behavior in the <b>Folding</b> panel of the Preferences window.</p>
|
||||
<p><img src="../images/editor_folding_preferences.png" alt="Editor Folding Preferences Window"></p>
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Folding Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="60%" valign="top" >
|
||||
<col width="10%" valign="top" align="center" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>Option</dt></td>
|
||||
<td><dt>Description</dt></td>
|
||||
<td><dt>Default</dt></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Enable folding when opening a new editor</dt></td>
|
||||
<td>If enabled, apply folding rules to the new editor.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Select folding to use</dt></td>
|
||||
<td>Select the folding to use from the available choices.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Enable folding of preprocessor branches (#if/#endif)</dt></td>
|
||||
<td>If enabled, fold preprocessor branches.</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Macros</dt></td>
|
||||
<td>If enabled, fold macro definitions.</td>
|
||||
<td>On</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Functions</dt></td>
|
||||
<td>If enabled, fold functions.</td>
|
||||
<td>Off</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Methods</dt></td>
|
||||
<td>If enabled, fold methods.</td>
|
||||
<td>Off</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Structures</dt></td>
|
||||
<td>If enabled, fold structures.</td>
|
||||
<td>On</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Comments</dt></td>
|
||||
<td>If enabled, fold comments.</td>
|
||||
<td>Off</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Header Comments</dt></td>
|
||||
<td>If enabled, fold header comments.</td>
|
||||
<td>On</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Inactive Preprocessor Branches</dt></td>
|
||||
<td>If enabled, fold inactive processor branches.</td>
|
||||
<td>On</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></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>
|
|
@ -4,44 +4,49 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>General preferences</title>
|
||||
<title>Editor preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>General preferences</h1>
|
||||
<h1>Editor preferences</h1>
|
||||
|
||||
<p>You can customize the appearance of the C/C++ editor on the General page of the Preferences window.</p>
|
||||
<p><img src="../images/editor_general_preferences.png" alt="Editor General Preferences Dialog Box"></p>
|
||||
|
||||
<dl>
|
||||
<dt>Displayed tab width</dt>
|
||||
<dd>Specifies the width of the tab as a number of characters. For example a value of <b>4</b>,
|
||||
means that the tab width is 4-characters wide.</dd>
|
||||
<dt>Print margin column</dt>
|
||||
<dd>Specifies the width of the print margin as a number of characters. For example a value of
|
||||
<b>80</b> means that the print area is 80-characters wide.</dd>
|
||||
<dt>Show overview ruler</dt>
|
||||
<dd>Displays the vertical ruler in the editor view.<dd>
|
||||
<dt>Show line numbers</dt>
|
||||
<dd>Displays line numbers in the left margin.</dd>
|
||||
<dt>Highlight matching brackets</dt>
|
||||
<dd>When the cursor is beside a bracket, the matching bracket is highlighted.</dd>
|
||||
<dt>Highlight current line</dt>
|
||||
<dd>Highlights the line that was last selected.</dd>
|
||||
<dt>Show print margin</dt>
|
||||
<dd>Displays the print margin in the editor.</dd>
|
||||
<dt>Insert space for tabs</dt>
|
||||
<dd>Inserts a space instead of a tab character when you press <tt>Tab</tt>.</dd>
|
||||
<dt>Use custom caret</dt>
|
||||
<dd>Select a custom caret (vertical bar icon showing cursor position).</dd>
|
||||
<dt>Enable thick caret</dt>
|
||||
<dd>Displays a thicker caret (vertical bar icon showing cursor position).</dd>
|
||||
<dt>Appearance color options</dt>
|
||||
<dd>Lists the items for which you can specify a color.</dd>
|
||||
<dt>Color</dt>
|
||||
<dd>Changes the color of the item that is selected in the list.</dd>
|
||||
</dl>
|
||||
<p>Use the <b>Editor</b> preference panel to control the appearance of text highlighting in C/C++ editors.</p>
|
||||
<p><img src="../images/editor_general_preferences.png" alt="Editor Preferences Dialog Box"></p>
|
||||
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Editor Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>Smart caret positioning in identifiers</dt></td>
|
||||
<td>If enabled, there are additional word boundaries inside identifiers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Highlight matching brackets</dt></td>
|
||||
<td>When the cursor is beside a bracket, the matching bracket is highlighted.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Highlight inactive code</dt></td>
|
||||
<td>Highlights inactive code when the cursor is positioned inside it.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Ensure newline at end of file when saving</dt></td>
|
||||
<td>Checkmark to ensure files always include a newline at the end.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Appearance color options</dt></td>
|
||||
<td>Lists the items for which you can specify a color.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Color</dt></td>
|
||||
<td>Specifies the color in which to display the selected item.</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>
|
||||
|
@ -51,6 +56,7 @@
|
|||
<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>
|
||||
<hr />
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
|
||||
</body>
|
||||
|
|
|
@ -9,16 +9,33 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Hover preferences</h1>
|
||||
<h1>Hovers preferences</h1>
|
||||
|
||||
<p>You can customize the appearance of the C/C++ editor hover behavior on the Hovers page of the Preferences window.</p>
|
||||
<p>You can customize the appearance of the C/C++ editor hover behavior on the <b>Hovers</b> panel of the Preferences window.</p>
|
||||
<p><img src="../images/editor_hover_preferences.png" alt="Editor Hover Preferences Window"></p>
|
||||
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Hovers Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>Enable editor problem annotation</dt></td>
|
||||
<td>When selected problems found will be highlighted in the editor.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Text Hover key modifier preferences</dt></td>
|
||||
<td>You can select hot-keys to enable alternate hover behavior. For example, a mouse over while pressing the <Ctrl> key will link to the element's source declaration.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<dl>
|
||||
<dt>Enable editor problem annotation</dt>
|
||||
<dd>When selected problems found will be highlighted in the editor.</dd>
|
||||
<dt>Text Hover key modifier preferences:</dt>
|
||||
<dd>You can select hot-keys to enable alternate hover behavior such as a mouse over while pressing the <Ctrl> key will link to the element's source declaration.</dd>
|
||||
<dt></dt>
|
||||
<dd></dd>
|
||||
<dt></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
<!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>Typing preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Typing preferences</h1>
|
||||
|
||||
<p>Use the <b>Typing</b> preference panel to assist in formatting input as you type. Click <b>Window > Preferences > C/C++ > Typing</b> to make changes.</p>
|
||||
<img src="../images/editor_typing_preferences.png" alt="Typing Preferences">
|
||||
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
|
||||
<caption><b>Typing Preference Options</b></caption>
|
||||
<colgroup>
|
||||
<col width="30%" valign="top" >
|
||||
<col width="70%" valign="top" >
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><dt>"Strings"</dt></td>
|
||||
<td>If enabled, automatically close string quotes.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>(Parenthesis) and [square] brackets</dt></td>
|
||||
<td>If enabled, automatically close parenthesis and square brackets.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt><Angle> brackets</dt></td>
|
||||
<td>If enabled, automatically close angle brackets.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>{Braces}</dt></td>
|
||||
<td>If enabled, automatically close curly braces.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Tab key indents the current line</dt></td>
|
||||
<td>If enabled, indent the current line when the tab key is pressed.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Adjust indentation</dt></td>
|
||||
<td>Adjust the indentation of pasted text to match the current indentation level.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Wrap automatically</dt></td>
|
||||
<td>Enable to automatically wrap string literals when they exceed the max line length.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><dt>Escape text when pasting into a literal string</dt></td>
|
||||
<td>If enabled, special characters in pasted strings are escaped when pasted into an existing string literal.</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>
|
|
@ -4,35 +4,57 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Code Templates preferences</title>
|
||||
<title>Templates preferences</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Code Templates preferences</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>
|
||||
<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 > Preferences > C/C++ > Templates</b>.</p>
|
||||
<img src="../images/code_templates.png" alt="Code Templates Preferences">
|
||||
<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>
|
||||
<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>
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
|
||||
<toc label="Reference">
|
||||
|
||||
<!-- VIEWS AND EDITOR TOPICS -->
|
||||
<topic label="C/C++ Views and Editors" href="reference/cdt_o_views.htm">
|
||||
<topic label="Selecting Views and Editors" href="reference/cdt_u_views.htm"/>
|
||||
<topic label="C/C++ Projects view" href="reference/cdt_u_cproj_view.htm"/>
|
||||
|
@ -26,6 +28,8 @@
|
|||
</topic>
|
||||
<topic label="C/C++ Icons" href="reference/cdt_u_icons.htm"/>
|
||||
</topic>
|
||||
|
||||
<!-- MENUBAR TOPICS -->
|
||||
<topic label="C/C++ Menubar" href="reference/cdt_o_menu.htm">
|
||||
<topic label="File Menu actions" href="reference/cdt_u_m_file.htm"/>
|
||||
<topic label="Edit Menu actions" href="reference/cdt_u_m_edit.htm"/>
|
||||
|
@ -35,36 +39,49 @@
|
|||
<topic label="Run Menu actions" href="reference/cdt_u_m_run.htm"/>
|
||||
<topic label="Window Menu actions" href="reference/cdt_u_m_window.htm"/>
|
||||
</topic>
|
||||
|
||||
<topic label="C/C++ Toolbar" href="reference/cdt_u_toolbar.htm"/>
|
||||
<topic label="C/C++ Open Type" href="reference/cdt_u_open_type.htm"/>
|
||||
<topic label="C/C++ Find and Replace" href="reference/cdt_u_find_replace.htm"/>
|
||||
|
||||
<!-- PREFERENCE TOPICS -->
|
||||
<topic label="C/C++ Preferences" href="reference/cdt_u_c_pref.htm">
|
||||
<topic label="Build Console preferences" href="reference/cdt_u_build_pref.htm"/>
|
||||
<topic label="Code Templates preferences" href="reference/cdt_u_code_temp.htm"/>
|
||||
|
||||
<topic label="Debug preferences" href="reference/cdt_u_debug.htm">
|
||||
<topic label="GDB MI preferences" href="reference/cdt_u_gdb_mi.htm"/>
|
||||
<topic label="Source Code Locations preferences" href="reference/cdt_u_dbg_src.htm"/>
|
||||
</topic>
|
||||
|
||||
<topic label="C/C++ Editor preferences" href="reference/cdt_o_ceditor_pref.htm">
|
||||
<topic label="General preferences" href="reference/cdt_u_c_editor_gen.htm"/>
|
||||
<topic label="Syntax Coloring preferences" href="reference/cdt_u_c_editor_color.htm"/>
|
||||
<topic label="Content Assist preferences" href="reference/cdt_u_c_editor_con_assist.htm"/>
|
||||
<topic label="Editor preferences" href="reference/cdt_u_c_editor_gen.htm"/>
|
||||
<topic label="Content Assist preferences" href="reference/cdt_u_c_editor_con_assist.htm" >
|
||||
<topic label="Advanced preferences" href="reference/cdt_u_c_editor_con_assist_adv.htm"/>
|
||||
</topic>
|
||||
<topic label="Folding preferences" href="reference/cdt_u_c_editor_folding.htm"/>
|
||||
<topic label="Hovers preferences" href="reference/cdt_u_c_editor_hov.htm"/>
|
||||
<topic label="Navigation preferences" href="reference/cdt_u_c_editor_navigation.htm"/>
|
||||
<topic label="Syntax Coloring preferences" href="reference/cdt_u_c_editor_color.htm"/>
|
||||
<topic label="Templates preferences" href="reference/cdt_u_code_temp.htm"/>
|
||||
<topic label="Typing preferences" href="reference/cdt_u_c_editor_typing.htm"/>
|
||||
</topic>
|
||||
|
||||
<topic label="File Types" href="reference/cdt_u_c_file_types.htm"/>
|
||||
<topic label="Make Targets" href="reference/cdt_u_make_targets_pref.htm"/>
|
||||
|
||||
<topic label="New Make Projects properties" href="reference/cdt_o_proj_prop_pages.htm">
|
||||
<topic label="Make Builder" href="reference/cdt_u_newproj_buildset.htm"/>
|
||||
<topic label="Error Parser" href="reference/cdt_u_newproj_parser_error.htm"/>
|
||||
<topic label="Binary Parser" href="reference/cdt_u_newproj_parser_binary.htm"/>
|
||||
<topic label="Discovery Options" href="reference/cdt_u_discovery_preferences.htm"/>
|
||||
</topic>
|
||||
|
||||
<topic label="Managed Make Project preferences" href="reference/cdt_o_mproj_pref.htm">
|
||||
<topic label="Environment" href="reference/cdt_o_mproj_pref_env.htm"/>
|
||||
<topic label="Build Macros" href="reference/cdt_o_mproj_pref_macro.htm"/>
|
||||
</topic>
|
||||
</topic>
|
||||
|
||||
<!-- PROJECT PROPERTIES TOPICS -->
|
||||
<topic label="C/C++ Project Properties" href="reference/cdt_u_properties.htm">
|
||||
<topic label="Managed Make Projects" href="reference/cdt_o_mmake_proj.htm">
|
||||
<topic label="Info" href="reference/cdt_u_mprop_info.htm"/>
|
||||
|
@ -113,6 +130,8 @@
|
|||
<topic label="Project References" href="reference/cdt_u_sprop_ref.htm"/>
|
||||
</topic>
|
||||
</topic>
|
||||
|
||||
<!-- NEW PROJECT WIZARD TOPICS -->
|
||||
<topic label="C/C++ New Project Wizard" href="reference/cdt_u_new_proj_wiz.htm">
|
||||
<topic label="Managed Make Projects" href="reference/cdt_o_new_mproj.htm">
|
||||
<topic label="Name" href="reference/cdt_u_new_proj_wiz_m_name.htm"/>
|
||||
|
@ -130,6 +149,9 @@
|
|||
<topic label="C/C++ Indexer" href="reference/cdt_u_new_proj_wiz_s_cindexer.htm"/>
|
||||
</topic>
|
||||
</topic>
|
||||
|
||||
|
||||
<!-- RUN AND DEBUG TOPICS -->
|
||||
<topic label="C/C++ Run and Debug" href="reference/cdt_o_run_dbg_pages.htm">
|
||||
<topic label="Main" href="reference/cdt_u_run_dbg_main.htm"/>
|
||||
<topic label="Arguments" href="reference/cdt_u_run_dbg_arg.htm"/>
|
||||
|
@ -138,5 +160,6 @@
|
|||
<topic label="Source" href="reference/cdt_u_run_dbg_srce.htm"/>
|
||||
<topic label="Common" href="reference/cdt_u_run_dbg_comm.htm"/>
|
||||
</topic>
|
||||
|
||||
<topic label="C/C++ search page" href="reference/cdt_u_search.htm"/>
|
||||
</toc>
|
||||
|
|