Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Find Declarations behavior in .h files
Find Declarations behavior in .h files [message #1498874] Thu, 04 December 2014 18:42 Go to next message
Ron W is currently offline Ron WFriend
Messages: 8
Registered: December 2013
Junior Member
In my current project, I have #includes organised like:

source.c: #include "header.h"
header.h #include "common.h"
common.h: #include "lib.h"

When editing source.c, when I pause the cursor over a symbol declared in lib.h, the pop-up showing the declaration appears. But, when editing header.h, the pop-up does not appear.

I then tried [right click] -> [Decalrations] while in source.c. The declaration in lib.h was listed in the Search tab. But while in header.h, it said "0 matches".

Since source.c "finds" lib.h via header.h, I would expect the same when editing header.h as when editing source.c.

Is there a setting I need?

Thanks


Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 2
Build id: 20140224-0627

Eclipse GCC Cross Compiler Support
Version: 8.3.0.201402142303
Re: Find Declarations behavior in .h files [message #1503787 is a reply to message #1498874] Mon, 08 December 2014 19:47 Go to previous message
Ron W is currently offline Ron WFriend
Messages: 8
Registered: December 2013
Junior Member
This problem also occurs in "Luna".

Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 2
Build id: 20140224-0627

Eclipse GCC Cross Compiler Support
Version: 8.3.0.201402142303
Previous Topic:Developing with QT
Next Topic:make trouble under Win 8x64 cygwinx64 Kepler and SDCC how can I use cygpath in cdt ?
Goto Forum:
  


Current Time: Fri Apr 26 07:47:08 GMT 2024

Powered by FUDForum. Page generated in 0.02924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top