Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.cdt.doc.user/concepts/cdt_c_open_definitions.htm')
-rw-r--r--doc/org.eclipse.cdt.doc.user/concepts/cdt_c_open_definitions.htm40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_open_definitions.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_open_definitions.htm
new file mode 100644
index 0000000000..3d474b90eb
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_open_definitions.htm
@@ -0,0 +1,40 @@
+<!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>Open definitions</title>
+<link rel="stylesheet" type="text/css" href="../help.css">
+</head>
+
+<body>
+
+<h1>Open definition</h1>
+
+<p>You can select an element name in your code and quickly navigate to its definition.</p>
+
+<img src="../images/openDefinition.png" alt="Editor View showing Open Definition option">
+
+<p>Open definition will attempt to navigate to the exact definition of the selected element.
+Open definition requires your file to have the proper include paths set up to the definition.
+If for any reason open definition cannot find the definition, it will display the following message in the status line:</p>
+
+<img src="../images/open_definition_error.png" alt="No definition was found message.">
+
+<p>For more information see <a href="../tasks/cdt_t_proj_paths.htm">Adding Include paths and symbols</a>.</p>
+
+<p><img border="0" 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 border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> <br>
+<a href="../tasks/cdt_t_proj_paths.htm">Adding Include paths and symbols</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_open_definitions.htm">Navigate to a C or C++ element's definition</a><br>
+<a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a></p>
+
+<p><img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" BORDER="0" width="324" height="14"> </p>
+
+</body>
+
+</html>

Back to the top