carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/concepts/cdt_c_open_declarations.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>Open Declaration</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>Open Declaration</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>You can select an element name in your code and quickly navigate to its declaration.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
<img src="../images/openDeclaration.png"  alt="Editor View showing Open Declaration option">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<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. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
Otherwise, it will attempt to navigate to a declaration of the selected element.  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
Open declaration requires your file to have the proper include paths set up to the declaration.  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
If for any reason open declaration cannot find the declaration, it will display the following message in the status line:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
<img src="../images/open_declaration_error.png"  alt="No declaration was found message.">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
<p>For more information see <a href="../tasks/cdt_t_proj_paths.htm">Adding Include paths and symbols</a>.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
<a href="cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
<a href="cdt_c_search.htm">C/C++ search</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
<a href="../tasks/cdt_t_proj_paths.htm">Adding Include paths and symbols</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
<a href="../tasks/cdt_t_open_declarations.htm">Navigate to a C or C++ element's declaration</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
<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
    35
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
<p><img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" BORDER="0" width="324" height="14"> </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
</html>