Hi everybody?
I usually work with code completion feature of Eclipse.
But I faced some trouble with using it.
1. Let's consider we have two projects in the Eclipse workspace.
Project A
header.h
Project B
program.c
2. Project B refer Project A (refered via project B's properties > c/c++ general > path and symbols > reference tab)
3. Originally, header.h defined a struct which has two int variables
typedef struct _temp {
int a;
int b;
} TEMP;
4. So far, Code completion works great on program.c
5. But, I couldn't see 'int c;' on code completion output after I added 'int c;' on struct TEMP.
How can I fix this problem?
I tried to fix it via Index > Rebuild on Project Explorer's context menu.
But it is too stupid to handle this I think.
Are there any good suggestions?
Any comments would be appreciated!
Have a nice day~
[Updated on: Tue, 30 August 2011 04:36] by Moderator