|
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>Typing preferences</title> |
|
8 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
9 </head> |
|
10 <body> |
|
11 |
|
12 <h1>Typing preferences</h1> |
|
13 |
|
14 <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> |
|
15 <img src="../images/editor_typing_preferences.png" alt="Typing Preferences"> |
|
16 <table width="600px" cellpadding="5" cellspacing="0" border="1" > |
|
17 <caption><b>Typing Preference Options</b></caption> |
|
18 <colgroup> |
|
19 <col width="30%" valign="top" > |
|
20 <col width="70%" valign="top" > |
|
21 </colgroup> |
|
22 <tbody> |
|
23 <tr> |
|
24 <td><b>"Strings"</b></td> |
|
25 <td>If enabled, automatically close string quotes.</td> |
|
26 </tr> |
|
27 <tr> |
|
28 <td><b>(Parenthesis) and [square] brackets</b></td> |
|
29 <td>If enabled, automatically close parenthesis and square brackets.</td> |
|
30 </tr> |
|
31 <tr> |
|
32 <td><b><Angle> brackets</b></td> |
|
33 <td>If enabled, automatically close angle brackets.</td> |
|
34 </tr> |
|
35 <tr> |
|
36 <td><b>{Braces}</b></td> |
|
37 <td>If enabled, automatically close curly braces.</td> |
|
38 </tr> |
|
39 <tr> |
|
40 <td><b>Tab key indents the current line</b></td> |
|
41 <td>If enabled, indent the current line when the tab key is pressed.</td> |
|
42 </tr> |
|
43 <tr> |
|
44 <td><b>Adjust indentation</b></td> |
|
45 <td>Adjust the indentation of pasted text to match the current indentation level.</td> |
|
46 </tr> |
|
47 <tr> |
|
48 <td><b>Wrap automatically</b></td> |
|
49 <td>Enable to automatically wrap string literals when they exceed the max line length.</td> |
|
50 </tr> |
|
51 <tr> |
|
52 <td><b>Escape text when pasting into a literal string</b></td> |
|
53 <td>If enabled, special characters in pasted strings are escaped when pasted into an existing string literal.</td> |
|
54 </tr> |
|
55 <tr> |
|
56 <td><b>Automatically indent - New lines and braces</b></td> |
|
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>. |
|
58 If disabled, the default Text Editor indentation strategy is applied (copy indent from previous line)</td> |
|
59 </tr> |
|
60 </tbody> |
|
61 </table> |
|
62 |
|
63 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br> |
|
64 <a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p> |
|
65 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> |
|
66 <br> |
|
67 <a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a><br> |
|
68 <a href="../tasks/cdt_o_con_assist.htm">Working with Content Assist</a></p> |
|
69 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> |
|
70 <br> |
|
71 <a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p> |
|
72 <a href="cdt_u_c_code_style_pref.htm">Code Style preferences</a></p> |
|
73 <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" > |
|
74 |
|
75 </body> |
|
76 |
|
77 </html> |