Open Declaration

You can select an element name in your code and quickly navigate to its declaration.

Editor View showing Open Declaration option

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:

No declaration was found message.

For more information see Setting up include paths and macros for C/C++ indexer.

Related concepts
C/C++ Projects
C/C++ search

Related tasks
Setting up include paths and macros for C/C++ indexer
Navigate to a C or C++ element's declaration
Searching for C/C++ elements

IBM Copyright Statement