Force large workspace rescanning (how?) [message #166728] |
Wed, 29 March 2006 03:41  |
Eclipse User |
|
|
|
Originally posted by: MCondarelli.harmanbecker.com
Hi,
I've been using CDT (CDT:2.0.2 on Eclipse:3.1.1) for a while and I have
the following problem (i have the creeping feeling I'm about to make a
fool of myself, but I can't find a solution...):
It seems that CDT caches some indexes for the project files and does not
refresh them even when the pointed-to files are deleted or moved.
Typical symptom is: I select a data struct or function name (actually my
current example is the name of an array of structures, if that matters),
right-click->Open Definition; I get a "java.io.FileNotFoundException".
This is actually correct because the file it is trying to open is long
gone and the structure is now somewhere else, but I seem unable to
convince Eclipse/CDT to forget the obsolete info and rescan the project.
Note: I often see the "rescanning workspace" (or something to hat effect)
message while working (mostly after a recompile), but this does not cure
the above.
What should I do?
Thank in advance
Mauro
|
|
|
|
Re: Force large workspace rescanning (how?) [message #166944 is a reply to message #166728] |
Thu, 30 March 2006 07:08  |
Eclipse User |
|
|
|
Mauro,
> What should I do?
in the C/C++ Projects view, right-click on your project folder and from the
context menu select "Refresh". This tells the workbench to re-scan the files
in the project and may fix your problem.
Norbert Ploett
|
|
|
Powered by
FUDForum. Page generated in 0.03829 seconds