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

<!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>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><b>Option</b></td>
			<td><b>Description</b></td>
			<td><b>Default</b></td>
		</tr>
		<tr>
			<td><b>Enable folding when opening a new editor</b></td>
			<td>If enabled, apply folding rules to the new editor.</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td><b>Select folding to use</b></td>
			<td>Select the folding to use from the available choices.</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td><b>Enable folding of preprocessor branches (#if/#endif)</b></td>
			<td>If enabled, fold preprocessor branches.</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td><b>Macros</b></td>
			<td>If enabled, fold macro definitions.</td>
			<td>On</td>
		</tr>
		<tr>
			<td><b>Functions</b></td>
			<td>If enabled, fold functions.</td>
			<td>Off</td>
		</tr>
		<tr>
			<td><b>Methods</b></td>
			<td>If enabled, fold methods.</td>
			<td>Off</td>
		</tr>
		<tr>
			<td><b>Structures</b></td>
			<td>If enabled, fold structures.</td>
			<td>On</td>
		</tr>
		<tr>
			<td><b>Comments</b></td>
			<td>If enabled, fold comments.</td>
			<td>Off</td>
		</tr>
		<tr>
			<td><b>Header Comments</b></td>
			<td>If enabled, fold header comments.</td>
			<td>On</td>
		</tr>
		<tr>
			<td><b>Inactive Preprocessor Branches</b></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>