carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_c_editor_folding.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     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>Folding preferences</title>
       
     8 	<link rel="stylesheet" type="text/css" href="../help.css">
       
     9 </head>
       
    10 <body>
       
    11 
       
    12 <h1>Folding preferences</h1>
       
    13 
       
    14 <p>You can customize the C/C++ editor folding behavior in the <b>Folding</b> panel of the Preferences window.</p>
       
    15 <p><img src="../images/editor_folding_preferences.png" alt="Editor Folding Preferences Window"></p>
       
    16 <table width="600px" cellpadding="5" cellspacing="0" border="1" >
       
    17 	<caption><b>Folding Preference Options</b></caption>
       
    18 	<colgroup>
       
    19 		<col width="30%" valign="top" >
       
    20 		<col width="60%" valign="top" >
       
    21 		<col width="10%" valign="top" align="center" >
       
    22 	</colgroup>
       
    23 	<tbody>
       
    24 		<tr>
       
    25 			<td><b>Option</b></td>
       
    26 			<td><b>Description</b></td>
       
    27 			<td><b>Default</b></td>
       
    28 		</tr>
       
    29 		<tr>
       
    30 			<td><b>Enable folding when opening a new editor</b></td>
       
    31 			<td>If enabled, apply folding rules to the new editor.</td>
       
    32 			<td>&nbsp;</td>
       
    33 		</tr>
       
    34 		<tr>
       
    35 			<td><b>Select folding to use</b></td>
       
    36 			<td>Select the folding to use from the available choices.</td>
       
    37 			<td>&nbsp;</td>
       
    38 		</tr>
       
    39 		<tr>
       
    40 			<td><b>Enable folding of preprocessor branches (#if/#endif)</b></td>
       
    41 			<td>If enabled, fold preprocessor branches.</td>
       
    42 			<td>&nbsp;</td>
       
    43 		</tr>
       
    44 		<tr>
       
    45 			<td><b>Macros</b></td>
       
    46 			<td>If enabled, fold macro definitions.</td>
       
    47 			<td>On</td>
       
    48 		</tr>
       
    49 		<tr>
       
    50 			<td><b>Functions</b></td>
       
    51 			<td>If enabled, fold functions.</td>
       
    52 			<td>Off</td>
       
    53 		</tr>
       
    54 		<tr>
       
    55 			<td><b>Methods</b></td>
       
    56 			<td>If enabled, fold methods.</td>
       
    57 			<td>Off</td>
       
    58 		</tr>
       
    59 		<tr>
       
    60 			<td><b>Structures</b></td>
       
    61 			<td>If enabled, fold structures.</td>
       
    62 			<td>On</td>
       
    63 		</tr>
       
    64 		<tr>
       
    65 			<td><b>Comments</b></td>
       
    66 			<td>If enabled, fold comments.</td>
       
    67 			<td>Off</td>
       
    68 		</tr>
       
    69 		<tr>
       
    70 			<td><b>Header Comments</b></td>
       
    71 			<td>If enabled, fold header comments.</td>
       
    72 			<td>On</td>
       
    73 		</tr>
       
    74 		<tr>
       
    75 			<td><b>Inactive Preprocessor Branches</b></td>
       
    76 			<td>If enabled, fold inactive processor branches.</td>
       
    77 			<td>On</td>
       
    78 		</tr>
       
    79 	</tbody>
       
    80 </table>
       
    81 
       
    82 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
       
    83 <a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
       
    84 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    85 <br>
       
    86 <a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p>
       
    87 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    88 <br>
       
    89 <a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
       
    90 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
       
    91 
       
    92 </body>
       
    93 
       
    94 </html>