carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/concepts/cdt_c_outlineview.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//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>Outline view</title>
       
     8 	<link rel="stylesheet" type="text/css" href="../help.css">
       
     9 </head>
       
    10 
       
    11 <body>
       
    12 
       
    13 <h1>Outline view </h1>
       
    14 
       
    15 <p>The Outline view displays an outline of a structured C/C++ file that is currently 
       
    16 open in the editor area, by listing the structural elements. </p>
       
    17 
       
    18 <img src="../images/outlineView.png"  alt="Editor View highlighting corrisponding element in the Outline View"></li>
       
    19 
       
    20 <p>The Outline view shows the following elements in the source file in the order 
       
    21 in which they occur:</p>
       
    22 
       
    23 <ul>
       
    24   <li>Class</li>
       
    25   <li>Namespace</li>
       
    26   <li>Include</li>
       
    27   <li>Enum</li>
       
    28   <li>Enumerator</li>
       
    29   <li>Field private</li>
       
    30   <li>Field protected</li>
       
    31   <li>Field public</li>
       
    32   <li>Include</li>
       
    33   <li>Method private</li>
       
    34   <li>Method protected</li>
       
    35   <li>Method public</li>
       
    36   <li>Struct</li>
       
    37   <li>Typedef</li>
       
    38   <li>Union</li>
       
    39   <li>Variable</li>
       
    40   <li>Function</li>
       
    41   <li>Macro Definition</li>
       
    42 </ul>
       
    43 
       
    44 <p>You can also sort the list 
       
    45 alphabetically. When you  select an element in the Outline view, the C/C++ 
       
    46 editor highlights both the selected item and the marker bar (left margin). For example, to move 
       
    47 to the start of main() in the C/C++ editor, click <samp>main()</samp> in the Outline 
       
    48 view.</p>
       
    49 
       
    50 <p>For more information about the marker bar, see <b>Workbench User Guide &gt; Reference &gt; User interface 
       
    51 information &gt; Views and editors &gt; Editor area</b>.</p>
       
    52 
       
    53 <h2>Filtering the Outline View</h2>
       
    54 
       
    55 <p>You can filter the Outline view by choosing to display or hide the following 
       
    56 items:</p>
       
    57 
       
    58 <ul>
       
    59   <li>Fields</li>
       
    60   <li>Static members</li>
       
    61   <li>Non-public members</li>
       
    62 </ul>
       
    63 
       
    64 <p>You can select an element in the Outline view, and perform the following actions:</p>
       
    65 <ul>
       
    66   <li>Open the C/C++ Search window box. The Search string box is populated and 
       
    67   the element type is selected.</li>
       
    68   <li>Complete a text-based search, of a workspace or a specified working set for the 
       
    69   selected element.</li>
       
    70   <li>Open a selected .h file in the editor.</li>
       
    71   <li>Rename Refactor</li>
       
    72 </ul>
       
    73 
       
    74 <h2>Icons</h2>
       
    75 <p><table border="1" >
       
    76 	<tr>
       
    77 		<td><img src="../images/outlineView-hideFields.png" border="0" width="22" height="22" alt="Hide Fields Button"></td>
       
    78 		<td>Hide Fields </td>
       
    79 	</tr>
       
    80 	<tr>
       
    81 		<td><img src="../images/outlineView-hideStaticMembers.png" border="0" width="22" height="22" alt="Hide Static Members Button"></td>
       
    82 		<td>Hide Static Members </td>
       
    83 	</tr>
       
    84 	<tr>
       
    85 		<td><img src="../images/outlineView-hideNon-PublicMembers.png" border="0" width="22" height="22" alt="Hide Non Public Members Button"></td>
       
    86 		<td>Hide Non-Public Members </td>
       
    87 	</tr>
       
    88 	<tr>
       
    89 		<td><img src="../images/outlineView-Sort.png" border="0" width="22" height="22" alt="Sort Button"></td>
       
    90 		<td>Sort </td>
       
    91 	</tr>
       
    92 </table></p>
       
    93 
       
    94 <p>For more information about the Eclipse workbench, see <b>Workbench User Guide &gt; Tasks &gt; Upgrading Eclipse</b>.</p>
       
    95 <p>For more information about Working sets, see <b>Workbench User Guide &gt; Concepts &gt; Working sets</b>.</p>
       
    96 </ul>
       
    97 
       
    98 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    99 <br>
       
   100 <a href="cdt_c_comments.htm">Comments</a><br>
       
   101 <a href="cdt_c_content_assist.htm">Content Assist and code completion</a><br>
       
   102 <a href="cdt_c_search.htm">C/C++ search</a><br>
       
   103 <a href="cdt_c_open_declarations.htm">Open Declaration</a><br>
       
   104 &nbsp;</p>
       
   105 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
   106 <br>
       
   107 <a href="../tasks/cdt_t_show_proj_files.htm">Displaying C/C++ file components in the 
       
   108 Project Explorer view</a><br>
       
   109 <a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a></p>
       
   110 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
   111 <br>
       
   112 <a href="../reference/cdt_u_outline_view.htm">Outline view</a><br>
       
   113 &nbsp;</p>
       
   114 
       
   115 <img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >
       
   116 
       
   117 </body>
       
   118 
       
   119 </html>