0

I'm new to the sbt and scala. I've installed sbt and sbt-idea. How can I create an idea project now ?

Shashika
  • 1,606
  • 6
  • 28
  • 47

1 Answers1

3

I personally got it work fairly painlessly by following the documentation: add the following lines to your project's ./project/plugins.sbt:

resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0-SNAPSHOT")

Reload sbt, the gen-idea command should now be available.

Nicolas Rinaudo
  • 6,068
  • 28
  • 41