carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_c_editor_typing.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
	<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
	<title>Typing preferences</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
	<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
<h1>Typing preferences</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<p>Use the <b>Typing</b> preference panel to assist in formatting input as you type. Click <b>Window &gt; Preferences &gt; C/C++ &gt; Editor &gt; Typing</b> to make changes.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<img src="../images/editor_typing_preferences.png"  alt="Typing Preferences">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
	<table width="600px" cellpadding="5" cellspacing="0" border="1" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
	<caption><b>Typing Preference Options</b></caption>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
	<colgroup>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
		<col width="30%" valign="top" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
		<col width="70%" valign="top" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
	</colgroup>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
	<tbody>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
			<td><b>"Strings"</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
			<td>If enabled, automatically close string quotes.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
			<td><b>(Parenthesis) and [square] brackets</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
			<td>If enabled, automatically close parenthesis and square brackets.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
			<td><b>&lt;Angle&gt; brackets</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
			<td>If enabled, automatically close angle brackets.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
			<td><b>{Braces}</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
			<td>If enabled, automatically close curly braces.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
			<td><b>Tab key indents the current line</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
			<td>If enabled, indent the current line when the tab key is pressed.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
			<td><b>Adjust indentation</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
			<td>Adjust the indentation of pasted text to match the current indentation level.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
			<td><b>Wrap automatically</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
			<td>Enable to automatically wrap string literals when they exceed the max line length.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
			<td><b>Escape text when pasting into a literal string</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
			<td>If enabled, special characters in pasted strings are escaped when pasted into an existing string literal.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
			<td><b>Automatically indent - New lines and braces</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
			<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>. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
			If disabled, the default Text Editor indentation strategy is applied (copy indent from previous line)</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
	</tbody>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
</table>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
<a href="../tasks/cdt_o_con_assist.htm">Working with Content Assist</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
<a href="cdt_u_c_code_style_pref.htm">Code Style preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
<img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
</html>