sbt-eclipse
sbt-eclipse copied to clipboard
sbteclipse doesn't support scala compiler version setting
Based on scala version sbteclipse should append following properties into
e.g. for scala version 2.10 projects
.settings/org.scala-ide.sdt.core.prefs
scala.compiler.additionalParams=...-Xsource\:2.10
scala.compiler.installation=2.10
Here's the same bug for gradle: https://discuss.gradle.org/t/eclipse-plugin-does-not-set-scala-version/17852
I develop scala with maven in eclipse. Eclipse's setting scala compiler version(also used in build path) should be the same with scala-library version, or cause "Error: Could not find or load main class", I always change build path by hand to match scala-library version, it's fussy. sbteclipse supports compiler version setting will be better.
/cc #239 which seems to contain a partial fix for this, but will only work for exact version 2.10, which is unfortunate. Ref commit 1bbf64c0cf8a9942afb56bcd228179d1019f0b9e .
Any news on this one? I hit it too.