carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_c_editor_typing.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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++ > Editor > 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><b>"Strings"</b></td>
<td>If enabled, automatically close string quotes.</td>
</tr>
<tr>
<td><b>(Parenthesis) and [square] brackets</b></td>
<td>If enabled, automatically close parenthesis and square brackets.</td>
</tr>
<tr>
<td><b><Angle> brackets</b></td>
<td>If enabled, automatically close angle brackets.</td>
</tr>
<tr>
<td><b>{Braces}</b></td>
<td>If enabled, automatically close curly braces.</td>
</tr>
<tr>
<td><b>Tab key indents the current line</b></td>
<td>If enabled, indent the current line when the tab key is pressed.</td>
</tr>
<tr>
<td><b>Adjust indentation</b></td>
<td>Adjust the indentation of pasted text to match the current indentation level.</td>
</tr>
<tr>
<td><b>Wrap automatically</b></td>
<td>Enable to automatically wrap string literals when they exceed the max line length.</td>
</tr>
<tr>
<td><b>Escape text when pasting into a literal string</b></td>
<td>If enabled, special characters in pasted strings are escaped when pasted into an existing string literal.</td>
</tr>
<tr>
<td><b>Automatically indent - New lines and braces</b></td>
<td>If enabled, a new line or brace will be indented according to the <a href="cdt_u_c_code_style_pref.htm">Code Style preferences</a>.
If disabled, the default Text Editor indentation strategy is applied (copy indent from previous line)</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>
<a href="cdt_u_c_code_style_pref.htm">Code Style preferences</a></p>
<img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >
</body>
</html>