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_open_declarations.htm

40 lines
1.9 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2007-06-14 15:58:09 +00:00
<title>Open Declaration</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<div role="main">
<h1>Open Declaration</h1>
<p>You can select an element name in your code and quickly navigate to its declaration.</p>
<img src="../images/openDeclaration.png" alt="Editor View showing Open Declaration option">
2007-06-14 15:58:09 +00:00
<p>Open declaration will attempt to navigate to the exact definition of the selected element if the selected element is a reference or a declaration.
Otherwise, it will attempt to navigate to a declaration of the selected element.
Open declaration requires your file to have the proper include paths set up to the declaration.
If for any reason open declaration cannot find the declaration, it will display the following message in the status line:</p>
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
<img src="../images/open_declaration_error.png" alt="No declaration was found message.">
<p>For more information see <a href="../tasks/cdt_t_sd.htm">Setting up include paths and macros for C/C++ indexer</a>.</p>
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
<a href="cdt_c_projects.htm">CDT Projects</a><br>
<a href="cdt_c_search.htm">C/C++ search</a></p>
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> <br>
<a href="../tasks/cdt_t_sd.htm">Setting up include paths and macros for C/C++ indexer</a><br>
<a href="../tasks/cdt_t_open_declarations.htm">Navigate to a C or C++ element's declaration</a><br>
<a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a></p>
<p><img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" width="324" height="14"> </p>
</div>
</body>
</html>