carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_c_editor_folding.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>Folding 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>Folding 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>You can customize the C/C++ editor folding behavior in the <b>Folding</b> panel of the Preferences window.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<p><img src="../images/editor_folding_preferences.png" alt="Editor Folding Preferences Window"></p>
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>Folding 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="60%" valign="top" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
		<col width="10%" valign="top" align="center" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
	</colgroup>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
	<tbody>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
			<td><b>Option</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
			<td><b>Description</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
			<td><b>Default</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
			<td><b>Enable folding when opening a new editor</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
			<td>If enabled, apply folding rules to the new editor.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
			<td>&nbsp;</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
		</tr>
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
			<td><b>Select folding to use</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
			<td>Select the folding to use from the available choices.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
			<td>&nbsp;</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>Enable folding of preprocessor branches (#if/#endif)</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
			<td>If enabled, fold preprocessor branches.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
			<td>&nbsp;</td>
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
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
			<td><b>Macros</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
			<td>If enabled, fold macro definitions.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
			<td>On</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
			<td><b>Functions</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
			<td>If enabled, fold functions.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
			<td>Off</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
		</tr>
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
			<td><b>Methods</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
			<td>If enabled, fold methods.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
			<td>Off</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
		</tr>
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
			<td><b>Structures</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
			<td>If enabled, fold structures.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
			<td>On</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
			<td><b>Comments</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
			<td>If enabled, fold comments.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
			<td>Off</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
			<td><b>Header Comments</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
			<td>If enabled, fold header comments.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
			<td>On</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
		<tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
			<td><b>Inactive Preprocessor Branches</b></td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
			<td>If enabled, fold inactive processor branches.</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
			<td>On</td>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    78
		</tr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    79
	</tbody>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    80
</table>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    81
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    82
<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
    83
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    84
<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
    85
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    86
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    87
<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
    88
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    89
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    90
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    91
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    92
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    93
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    94
</html>