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