Search code examples
eclipsescalascala-ide

Can Scala IDE suggest packages to import automatically?


In Java, and also in C#, when I use a class that has not been imported, I get a list of suggestions to import. Is this also possible in ScalaIDE?

Thanks


Solution

  • It turns out that I was using Java 8, which is not compatible with the current version of Scala 2.11.4 as of this post. This messes up the compiler and yields false positive everywhere, and package suggestion is also affected.

    I removed Java 8, and then install Java 7. Now Eclipse is happy with Scala.