Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Can't get indexer to work

On 07/16/2013 10:04 AM, Greg Watson wrote:
It's not doing remote indexing. The RDT feature adds a remote indexer which is why you see it. 

I see the error message also, and I've opened bug 413021 to track the problem.

I think this is causing problems with the indexer. If I open the Indexer preferences and get the error, then open main.c (from shallow), I see errors on every line that  refers to something from *any* include file (e.g. line 39 in main.c). The indexer seems to be completely broken at this point. The only thing that seems to clear the problem is to start with a completely new workspace. Just removing and recreating the project does not seem to restore the indexer operation.
Project specific indexer settings seem okay, even after this happens. As an alternative to blowing away your workspace, you might be able to edit the file:

workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.prefs

Which has a suspicious entry after you try to set the indexer preferences the first time:

indexer/indexerId=org.eclipse.cdt.core.nullindexer

If you delete that line, it doesn't come back.

Cheers,
Steve

Back to the top