Hromit Prodigy
Hromit Prodigy

Reputation: 45

Unable to Work on Imported sbt project on Eclipse Scala Ide

I Have downloaded couple of projects from github , which are sbt projects, and imported in Scala IDE. But When I try to run them...they are not showing in run configuration.

I think for sbt project there is some another way to import in eclipse.

Please Help.

Attaching the screenshot of the project.

[Screenshot]

Upvotes: 0

Views: 912

Answers (2)

Hromit Prodigy
Hromit Prodigy

Reputation: 45

Finally, What I Understood is, For Scala SBT Development, IntelliJ is the preferred IDE. Almost All projects which are hosted on Github have build.sbt in it. Like for Android Development everyone prefers Android Studio. LikeWise for scala use IntelliJ at least for now.

Upvotes: 0

jenkin
jenkin

Reputation: 148

you should convert it to eclipse projects first.

1.you need to add eclipse plguins in your project/plugins.sbt, something like this: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

2.run sbt In CLI from your peoject fold and type eclipse, wait util it successes. Now , you can import it to eclipse (eclipse project needs .project and .classpath the two files)

BTW, sbt and eclipse command may be a little slow, be patient.

Hope it helps.

Upvotes: 1

Related Questions