Reputation: 6422
I'm trying to use this example: https://github.com/spray/spray-template for a Spray project, however I can't figure out how to point Intellij at the dependencies downloaded via SBT.
Any suggestions?
Upvotes: 3
Views: 651
Reputation: 207016
If you're using IntelliJ version 13, you need only the Scala plug-in (which has built-in SBT support); just open the project by selecting the build.sbt
file.
Upvotes: 4
Reputation: 2144
Add SBT plugin for creating IntelliJ IDEA projects in your ~/.sbt/0.xx/plugins/build.sbt or PROJECT_DIR/project/plugins.sbt. Use gen-idea
command to create an IntelliJ project and open the project
in IntelliJ. That should be it.
Upvotes: 1
Reputation: 3294
Use this SBT plugin to generate Intellij IDEA project files: https://github.com/mpeltonen/sbt-idea
Upvotes: 1