Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347343 - "Mark Occurrences" and "Open Declaration" ceased functioning in existing projects
Summary: "Mark Occurrences" and "Open Declaration" ceased functioning in existing proj...
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0.2   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 12:46 EDT by Alex Ronke CLA
Modified: 2016-12-27 22:38 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Ronke CLA 2011-05-26 12:46:28 EDT
Build Identifier: 20110218-0911

I recently upgraded from Ganymede to the latest build of Helios.

I imported my existing projects into my workspace.

I cannot get "Mark Occurrences" or "Open Declaration" to operate (at all) while working in those projects.

I deleted the .project and .cproject files from the project folders, then re-imported them.  Same thing happened.

I created an entirely new project, with a sample "helloworld.c" file, and those features work there.

Is there some sort of setting that I'm missing?  Maybe an old configuration file that needs to be deleted?

Reproducible: Didn't try

Steps to Reproduce:
1. Create a project using Eclipse Ganymede.
2. Delete the .project and .cproject files from the project folder.
3. Upgrade to Eclipse Helios.
4. Import the project.
5. Attempt to use "Mark Occurrences" or "Open Declaration".
Comment 1 Patrick Hofer CLA 2011-05-27 02:09:05 EDT
Did you re-index your projects? Have a look at your indexer settings, the full indexer was removed. I suggest trying Indigo out, it will be released next month.
Comment 2 Alex Ronke CLA 2011-05-27 10:03:29 EDT
I wasn't able to fix the issue by doing a normal compile (which typically sets up the indexer).

It did, however, begin to start working after I did a make clean on the project.  This seems a bit odd to me, as my project uses custom makefiles.


(In reply to comment #1)
> Did you re-index your projects? Have a look at your indexer settings, the full
> indexer was removed. I suggest trying Indigo out, it will be released next
> month.
Comment 3 Alex Ronke CLA 2011-05-31 11:39:37 EDT
Further notes:

Occasionally, when I close and open Eclipse, this problem will arise again, and I'll have to do a make clean (sometimes followed by an additional make) in order to get the indexer working again.

(In reply to comment #2)
> I wasn't able to fix the issue by doing a normal compile (which typically sets
> up the indexer).
> 
> It did, however, begin to start working after I did a make clean on the
> project.  This seems a bit odd to me, as my project uses custom makefiles.
> 
> 
> (In reply to comment #1)
> > Did you re-index your projects? Have a look at your indexer settings, the full
> > indexer was removed. I suggest trying Indigo out, it will be released next
> > month.
Comment 4 Nathan Ridge CLA 2015-12-17 17:49:05 EST
Do you still experience this problem?
Comment 5 Alex Ronke CLA 2015-12-22 08:13:41 EST
I no longer work on the project where I originally encountered this defect.
Comment 6 Nathan Ridge CLA 2016-12-27 22:38:30 EST
Closing. Please feel free to reopen if you see this problem again.