facebook

scala support

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #306775 Reply

    lkrenzien
    Member

    I’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.

    #306854 Reply

    support-joy
    Member

    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.

    #311432 Reply

    @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.

    #329089 Reply

    sujitpal
    Member

    Apparently 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…

    #329099 Reply

    support-swapna
    Moderator

    sujitpal,

    Thank you for posting the detailed steps. It will surely help other users.
    Do let us know if you see any issues.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: scala support

You must be logged in to post in the forum log in