- This topic has 4 replies, 5 voices, and was last updated 12 years, 3 months ago by support-swapna.
-
AuthorPosts
-
lkrenzienMemberI’d like to know what’s about the scala plugin support as already requested here https://www.genuitec.com/forums/topic/scala/#post-301077 ? Are there any plans for the near future ? At least support for scala 2.8 would be very nice.
support-joyMemberlkrenzien,
Currently MyEclipse doesn’t provide any intrinsic support for Scala. I have escalated your request to the management. Adding scala support is a management decision. I’m afraid, I don’t have any ETA on when this support would be provided.
Christopher McIntoshMember@support-joy wrote:
lkrenzien,
Currently MyEclipse doesn’t provide any intrinsic support for Scala. I have escalated your request to the management. Adding scala support is a management decision. I’m afraid, I don’t have any ETA on when this support would be provided.
As one who is currently doing research in Scala, I am interested to know what “management” has decided about this…. Thanks in advance.
sujitpalMemberApparently management has agreed to support ScalaIDE in MyEclipse :-).
I was able to successfully install ScalaIDE 2.0.2 on MyEclipse 10, then work with a generated sbt project (using g8iter). In order to generate the .classfile and .project files I used the sbteclipse plugin.
Commands are:
1) install ScalaIDE using the update site
http://download.scala-ide.org/releases-29/stable/site
(or whatever is currently advertised on the Scala IDE page: http://scala-ide.org/download/current.html).2) (optional) – install the scala stack from TypeSafe (http://typesafe.com/stack). This gives you Scala, SBT and g8iter. If you already have them, then you can skip it.
3) g8 typesafehub/scala-sbt
This generates a standard sbt project (similar to a standard maven project).3) add this line into your $HOME/.sbt/plugins/build.sbt
addSbtPlugin(“com.typesafe.sbteclipse” % “sbteclipse-plugin” % “2.1.0”)
this ensures that your local sbt will be able to generate Eclipse .classpath and .project files for other projects also, not only this one.4) back to your generated project, run:
abt eclipse
Similar to maven, you can regenerate these files after adding additional library dependencies to build.sbt by rerunning sbt eclipse.5) Create your scala project and point to the basedir of the generated project during project creation.
I last tried the ScalaIDE 3 years ago and it sucked, so I switched to using Netbeans for Scala, which also kinda sucked. This time around, the Scala tooling with MyEclipse is actually quite nice. Syntax errors are flagged, and code completion kind of works. You can run and debug from within the IDE.
Anyway, hope this helps someone…
support-swapnaModeratorsujitpal,
Thank you for posting the detailed steps. It will surely help other users.
Do let us know if you see any issues. -
AuthorPosts