Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

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 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
Searching for C/C++ elements

IBM Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire