Find Declarations behavior in .h files [message #1498874] |
Thu, 04 December 2014 18:42 |
Ron W 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02924 seconds