1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_outlineview.htm
David Daoust 8c37d3dbe0 Doc update from Devin.
Here's what I've changed:

changes to the doc htm files:
- added open definition
-> added concepts/cdt_c_open_definitions.htm
-> added images/openDefinition.png
-> added images/open_definition_error.png
-> updated images/openDeclaration.png
-> updated images/open_declaration_error.png
-> added tasks/cdt_t_open_definitions.htm
-> updated links to point to open definition wherever open declaration is linked
- information about the code reader buffer and properties in the menu
-> added images/cdt_pref_parser.png
-> added reference/cdt_o_parser_pref.htm (C/C++ Parser preferences)
-> added reference/cdt_u_c_parser_codereader_cache_pref.htm
-> added link to cdt_o_parser_pref.htm in reference/cdt_o_ref.htm
- removed reference/cdt_u_shared_lib_view_pref.htm since it has no useful information (also removed the corresponding link in contexts_CDT_DEBUGGER.xml)
- renamed the link absolute path "file:///E:/CDT/3.1/eclipse/org.eclipse.cdt.doc.user/images/indexer_import_largeproject1.PNG" in
tasks/indexer_importing_large_project.html to the relative path "../images/indexer_import_largeproject1.PNG"

dead links:
removed: concepts/cdt_c_editor.htm -> <br><a href="../reference/cdt_u_editor_key_bind.htm">C/C++ editor key binding actions</a>
removed: concepts/cdt_c_indexer_ctagsindexer.htm -> <a href="../tasks/cdt_t_indexer_timeout.htm"></a>
removed: concepts/cdt_c_indexer_ctagsindexer.htm -> <a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
removed: concepts/cdt_c_indexer_fullindexer.htm -> <a href="../tasks/cdt_t_indexer_timeout.htm"></a>
removed: concepts/cdt_c_indexer_fullindexer.htm -> <a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
removed: concepts/cdt_c_indexer_open_close.htm -> <a href="../tasks/cdt_t_indexer_timeout.htm"></a>
removed: concepts/cdt_c_indexer_open_close.htm -> <a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
removed: concepts/cdt_c_indexer_prog_bar.htm -> <a href="../tasks/cdt_t_indexer_timeout.htm"></a>
removed: concepts/cdt_c_indexer_prog_bar.htm -> <a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
removed: concepts/cdt_c_indexer.htm -> <a href="../tasks/cdt_t_indexer_timeout.htm"></a>
removed: concepts/cdt_c_indexer.htm -> <a href="../reference/cdt_u_search_pref.htm">Search, C/C++ Preferences window</a>
renamed to references/cdt_u_m_edit.htm: concepts/cdt-c_templates.htm -> <a href="../reference/cdt_u_menu_edit.htm">Edit menu</a>
removed: concepts/cdt_o_concepts.htm ->         <img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_indexer_prob_rep.htm">C/C++ Indexer Problem Reporting</a><br>
removed: reference/cdt_u_m_project.htm -> Concepts/cdtconcepts-4.htm
removed: reference/cdt_u_m_project.htm -> Tasks/cdttasks-106.htm
removed: reference/cdt_o_ref.htm -> reference/cdt_u_mfile_rbcs.htm
removed: reference/cdt_o_ref.htm -> reference/cdt_u_search_pref.htm
renamed to cdt_o_mproj_pref.htm: reference/cdt_o_ref.htm -> reference/cdt_o_mproj_pref.htm
removed: reference/cdt_u_m_project.htm -> Tasks/cdttasks-106.htm
removed: tasks/cdt_o_tasks.htm ->         <img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_t_indexer_prob_rep.htm">C/C++ Indexer Problem Reporting</a><br>
2005-08-12 13:43:10 +00:00

120 lines
No EOL
4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//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>Outline view</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Outline view </h1>
<p>The Outline view displays an outline of a structured C/C++ file that is currently
open in the editor area, by listing the structural elements. </p>
<img src="../images/outlineView.png" alt="Editor View highlighting corrisponding element in the Outline View"></li>
<p>The Outline view shows the following elements in the source file in the order
in which they occur:</p>
<ul>
<li>Class</li>
<li>Namespace</li>
<li>Include</li>
<li>Enum</li>
<li>Enumerator</li>
<li>Field private</li>
<li>Field protected</li>
<li>Field public</li>
<li>Include</li>
<li>Method private</li>
<li>Method protected</li>
<li>Method public</li>
<li>Struct</li>
<li>Typedef</li>
<li>Union</li>
<li>Variable</li>
<li>Function</li>
<li>Macro Definition</li>
</ul>
<p>You can also sort the list
alphabetically. When you select an element in the Outline view, the C/C++
editor highlights both the selected item and the marker bar (left margin). For example, to move
to the start of main() in the C/C++ editor, click <samp>main()</samp> in the Outline
view.</p>
<p>For more information about the marker bar, see <b>Workbench User Guide &gt; Reference &gt; User interface
information &gt; Views and editors &gt; Editor area</b>.</p>
<h2>Filtering the Outline View</h2>
<p>You can filter the Outline view by choosing to display or hide the following
items:</p>
<ul>
<li>Fields</li>
<li>Static members</li>
<li>Non-public members</li>
</ul>
<p>You can select an element in the Outline view, and perform the following actions:</p>
<ul>
<li>Open the C/C++ Search window box. The Search string box is populated and
the element type is selected.</li>
<li>Complete a text-based search, of a workspace or a specified working set for the
selected element.</li>
<li>Open a selected .h file in the editor.</li>
<li>Rename Refactor</li>
</ul>
<h2>Icons</h2>
<p><table border="1" >
<tr>
<td><img src="../images/outlineView-hideFields.png" border="0" width="22" height="22" alt="Hide Fields Button"></td>
<td>Hide Fields </td>
</tr>
<tr>
<td><img src="../images/outlineView-hideStaticMembers.png" border="0" width="22" height="22" alt="Hide Static Members Button"></td>
<td>Hide Static Members </td>
</tr>
<tr>
<td><img src="../images/outlineView-hideNon-PublicMembers.png" border="0" width="22" height="22" alt="Hide Non Public Members Button"></td>
<td>Hide Non-Public Members </td>
</tr>
<tr>
<td><img src="../images/outlineView-Sort.png" border="0" width="22" height="22" alt="Sort Button"></td>
<td>Sort </td>
</tr>
</table></p>
<p>For more information about the Eclipse workbench, see <b>Workbench User Guide &gt; Tasks &gt; Upgrading Eclipse</b>.</p>
<p>For more information about Working sets, see <b>Workbench User Guide &gt; Concepts &gt; Working sets</b>.</p>
</ul>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="cdt_c_comments.htm">Comments</a><br>
<a href="cdt_c_content_assist.htm">Content Assist and code completion</a><br>
<a href="cdt_c_search.htm">C/C++ search</a><br>
<a href="cdt_c_open_declarations.htm">Open Declarations</a><br>
<a href="cdt_c_open_definitions.htm">Open Definitions</a><br>
&nbsp;</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_show_proj_files.htm">Displaying C/C++ file components in the
C/C++ Projects view</a><br>
<a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_u_outline_view.htm">Outline view</a><br>
&nbsp;</p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>
</html>