HiveBrain v1.2.0
Get Started
← Back to all entries
debugjavaCritical

Eclipse/Java code completion not working

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
javacompletionworkingnoteclipsecode

Problem

I've downloaded, unzipped and setup Eclipse 3.4.2 with some plugins (noteable, EPIC, Clearcase, QuantumDB, MisterQ).

Now I find when I'm editing Java projects the code completion is not working. If I type String. and press ctrl+space a popup shows "No Default Proposals" and the status bar at the bottom shows "No completions available".

Any ideas?

Solution

Try restoring the default options in 'Windows > Preferences > Java > Editor > Content Assist > Advanced'

An example of the kind of data you see in this preference screen, however not necessarily what you currently have.

(From Vadim in this blog post " Content Assist Duplicates in Eclipse (Mylyn)":

if have duplicate Mylyn entries, uncheck the duplicate entries that do not contain "(Mylyn)" in their name)

The Eclipse help page defines the default list to restore:


Select the proposal kinds contained in the 'default' content assist list:



  • Other Java Proposals,



  • SWT Template Proposals,



  • Template Proposals,



  • Type Proposals

Context

Stack Overflow Q#908489, score: 1373

Revisions (0)

No revisions yet.