SBT in the Scala Plugin

     I realize there is a separate SBT plugin, but it hasn't been updated since 2011... Is there anyway we can get SBT support in the regular scala plugin?

8 comments
Comment actions Permalink

I'm planning to start full SBT support from January/February 2013. It will be separate plugin in IntelliJ IDEA depending on Scala plugin.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Great to hear, thank you!

0
Comment actions Permalink

great, thank you jason. i'll give it a spin.

0
Comment actions Permalink

jason,

does the sbt plugin recognize the classpath and set it up accordingly in IDEA?
i may have opened the project incorrectly, but it seems the sbt dependencies are ignored.

0
Comment actions Permalink

cool! i'll give that a shot! thanks

0
Comment actions Permalink

I have this in ~/.sbt/plugins/build.sbt, so that I have sbt-idea access in every sbt project and do not force individual projects to include the plugin:
    
    addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.1.0")



Then all you have to do is invoke sbt gen-idea, this sets up everything you need; it's a phantastic plugin! If I change versions of library dependencies, I call rm -r .idea and rm -r .idea_modules before re-creating the project with gen-idea. The only thing that's lost is custom code style (I have a template to which I switch) and run configurations.

Best, .h.h.

0

Please sign in to leave a comment.