0

I installed eclipse with oomph - eclipse for JEE as basis + lots of other stuff defined in the oomph.setup. Now I can't activate the content assist for java:

enter image description here

Is it possible that I have to install something through oomph?

UPDATE In my org.eclipse.jdt.ui.prefs I have: content_assist_disabled_computers=org.eclipse.jdt.ui.textProposalCategory$${0x0}org.eclipse.jdt.ui.javaTypeProposalCategory$${0x0}org.eclipse.jdt.ui.javaNoTypeProposalCategory$${0x0}

user1414745
  • 1,317
  • 6
  • 25
  • 45
  • Does nothing change when you `Restore Defaults`? – nitind Apr 18 '18 at 22:37
  • Are there any relevant messages in the Error Log? (**Window > Show View > Error Log**) – skomisa Apr 19 '18 at 04:32
  • 1
    As nitind suggests, try `Restore Defaults`. If that doesn't work, take a look at Eclipse [Bug 515021 - ContentAssist not available](https://bugs.eclipse.org/bugs/show_bug.cgi?id=515021) where a user is reporting the same problem with Oomph, and details how they got Restore Defaults to work. – skomisa Apr 19 '18 at 04:51

1 Answers1

0

So I followed https://bugs.eclipse.org/bugs/show_bug.cgi?id=515021 and that fixed the problem.

There are 2 things one can try:

  1. Java -> Editor -> Content Assist -> Advanced -> Restore Defaults and then restart eclipse
  2. Close eclipse, delete workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs and start eclipse

The second work for me.

user1414745
  • 1,317
  • 6
  • 25
  • 45