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.
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:
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.
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.
Great to hear, thank you!
In the meantime, I've released updates for idea-sbt-plugin.
http://plugins.intellij.net/plugin?pr=idea&pluginId=5007
https://groups.google.com/forum/?fromgroups=#!topic/simple-build-tool/SSt47q8EaOI
-jason
great, thank you jason. i'll give it a spin.
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.
Nope, for that you should use https://github.com/mpeltonen/sbt-idea
cool! i'll give that a shot! thanks
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.