swaheed swaheed - 1 year ago 148
Scala Question

how to add sbteclipse plugin in eclipse

I am using sbt 0.13 and I would like to add sbteclipse plugin so that eclipse import my sbt project and I can write my scala code easily. While searching on the internet I got this link. I read all the instruction that to make plugins.sbt file and added plugin in it but I am confused about what to download and after downloading this zip file what should I do next please.

Any suggestion?

Answer Source

There is no need to download anything by hand. Just follow the instructions for sbt 0.13.

Add this to your plugins.sbt

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

Start the sbt shell and type eclipse.

This automaticly downloads the plugin and creates the eclipse project files for you.

Now you can just import the project via the import project wizard in eclipse.

You can find this instructions at the README file on github: https://github.com/typesafehub/sbteclipse/blob/master/README.rst

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download