wrschneider
wrschneider

Reputation: 18810

Error in Eclipse with Scala IDE autocomplete

Auto-complete (ctrl-space) fails in Eclipse with Scala IDE with the following error:

An internal error occurred during: "Computing additional info".
org.eclipse.jdt.internal.core.SearchableEnvironment.<init>
(Lorg/eclipse/jdt/internal/core/JavaProject;
Lorg/eclipse/jdt/core/WorkingCopyOwner;)V

How can I fix this?

Eclipse Version: 2018-12 (4.10.0)

Scala IDE version: 4.7.0 with Scala up to 2.12 installed

Upvotes: 5

Views: 3401

Answers (2)

Andrew Norman
Andrew Norman

Reputation: 910

this issue with the autocomplete is resolved in the upcoming version of Eclipse 2019-06! The fix is currently merged into the 4.12M1 milestone.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=546156

https://wiki.eclipse.org/Simultaneous_Release

Upvotes: 2

wrschneider
wrschneider

Reputation: 18810

OK turns out this is a silly oversight on my part.

There was a breaking change in the constructor for SearchableEnvironment, where an additional argument was added. The latest Scala IDE is based on Eclipse 4.7 (Oxygen), and will not work with 4.10 / 2018-12 because of this.

Running Scala IDE with Eclipse 4.7 works now.

Upvotes: 2

Related Questions