Open definition

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

Editor View showing Open Definition option

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:

No definition was found message.

For more information see Adding Include paths and symbols.

Related concepts
CDT Projects
C/C++ search

Related tasks
Adding Include paths and symbols
Navigate to a C or C++ element's declaration
Navigate to a C or C++ element's definition
Searching for C/C++ elements

IBM Copyright Statement