Bug 185684 - [content assist] Content Assist fails to offer proposals in 3.3M7
Summary: [content assist] Content Assist fails to offer proposals in 3.3M7
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-05-06 08:29 EDT by Missing name Mising name CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments
No proposals (48.69 KB, image/png)
2007-05-06 08:30 EDT, Missing name Mising name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name Mising name CLA 2007-05-06 08:29:41 EDT
3.3M7 I20070503-1400

Trying to Ctrl-Space (or just typing '.') after most terms pops up an intrusive dialogue reporting no default proposal kinds using 3.3M7 out-of-the-box.  Including:

System.                      // should propose members
import java.                 // should propose packages
syso<Ctrl-Space>             // should expand to System.out.println()
StringTokenizer<Ctrl-Space>  // should import java.util.StringTokenizer
Comment 1 Missing name Mising name CLA 2007-05-06 08:30:39 EDT
Created attachment 66024 [details]
No proposals

No proposals after typing "Color."
Comment 2 Missing name Mising name CLA 2007-05-06 08:38:48 EDT
Clicking Restore Defaults works, and I've just noticed this happening in M6 as well (different workspace) which was working fine earlier so might be something to do with the way I am using Eclipse, though like I say it's pretty much a vanilla install that I am using.  In both cases no options were checked in the first list on the Advanced Content Assist preferences page.  I have not changed those settings myself so don't know what caused the first three items to become unchecked.
Comment 3 Dani Megert CLA 2007-05-07 02:56:35 EDT
Cannot reproduce using I20070503-1400.

Did you eventually install some plug-ins on-top of Eclipse SDK which you missed to re-install after the upgrade? Maybe one of those messed up the preference (e.g. old Mylar versions did so).

Try whether pressing 'Restore Default's on
    Java > Editor > Content Assist > Advanced
fixes the problems.

Another cause could be a messed up build path.
Comment 4 Dani Megert CLA 2007-05-07 02:57:04 EDT
>Try whether pressing 'Restore Default's
Sorry, you already wrote that this worked ;-)
Comment 5 Dani Megert CLA 2007-05-07 02:58:25 EDT
Can you reproduce this using just plain Eclipse SDK?
Comment 6 Missing name Mising name CLA 2007-05-07 12:17:09 EDT
Under 3.3M6 I did install some Europa plugins including Mylar (but a recent version - installed within the past fortnight via update manager), but I disabled these after encountering bug 92250 which caused a few spontaneous crashes whilst lazy loading.  M7 had no additional plugins installed.  The problem seemed to affect a couple of workspaces - one open in M7 which had previously been open in M6, one new in M6.  Restoring the defaults in each workspace fixes the problem.

It might be that some plugin has disrupted the settings on both workspaces.  On restoring the settings and switching to a fresh workspace I have not encountered the problem again (either in M6 or M7).  I'll keep my eye out in case I see this or a similar issue again and can track down the cause.  Happy to WORKSFORME.
Comment 7 Dani Megert CLA 2007-06-22 09:58:59 EDT
Get rid of deprecated state.
Comment 8 Dani Megert CLA 2007-06-22 10:04:19 EDT
.