Skip to main content
summaryrefslogtreecommitdiffstats
blob: 8226f5c612ee4558d4147925ff8b0a563520f23d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!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 declarations</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<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">

<p>Open declaration will attempt to navigate to the exact 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>

<img src="../images/open_declaration_error.png"  alt="This operation is unavailable on the current selection 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_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