Bug 69059 - Content assist stops working
Summary: Content assist stops working
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 14:37 EDT by Craig Setera CLA
Modified: 2004-10-27 06:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Setera CLA 2004-06-30 14:37:20 EDT
I have a workspace full of Eclipse RCP plugins and a single feature.  I'm
running the shipped version of Eclipse 3.0 on WinXP on top of JDK 1.4.2_04. 
I've had zero problems until today.  All of the sudden, I'm having odd behavior
where content assist just stop working (get "No completions available") for
everything.  For instance, I have two classes in a package within the same
project.  Trying to prompt on the constructor from one class to the other fails
this way.  (Implying it is not build path related).  Both classes and
constructors in this case are public.

A few things of interest:
- Shutdown and restart of Eclipse doesn't fix it.
- Closing and reopening projects doesn't fix it.
- I've tried a fresh workspace and pointed back to the same project directories
(not part of the workspace) to no avail.
- I unzipped a fresh copy of the Eclipse code and pointed it to the workspace. 
That seemed to work for a while and then stopped working again.
- It seems in both cases that the failure followed a class being deleted?  That
is a guess, but I think that was what happened.
- At one point, I was getting content assist popups on objects that would only
show the methods available in java.lang.Object no matter that it was an instance
of a subtype with meny more methods.

I don't know if it is at all related, but for the last few release candidates,
I've also had cases where a newly created class wouldn't show up in the package
explorer until I shutdown and restarted Eclipse.

I love Eclipse and I basically can't survive without content assist anymore.  If
there are workarounds for this, I'd love to get them.  I do have some of the old
workspaces, although I'm not sure that they would be useful to you.
Comment 1 Craig Setera CLA 2004-06-30 15:28:32 EDT
Please disregard this.  I'm an idiot.  I didn't realize I had added a type
filter that was a bit too broad.  The restart scenario was because I hadn't
imported my preferences again.  Once I did, it *appeared* to break again.  Sorry
for the false alarm.