Skip to content

Instantly share code, notes, and snippets.

@visenger
Last active December 16, 2015 22:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save visenger/5505975 to your computer and use it in GitHub Desktop.
Save visenger/5505975 to your computer and use it in GitHub Desktop.
Scala - Sbt - IntelliJ saga ;)
how-to: Scala for INtellij installation:
http://stackoverflow.com/questions/9563342/how-to-run-scala-code-on-intellij-idea-11
--------------------------------------------------------------------------------
how-to: create IntelliJ Idea project from existing github project:
git clone <scala_project_from_git_built with_sbt>
cd <to project root>
vim PROJECT_DIR/project/plugins.sbt
// from https://github.com/mpeltonen/sbt-idea
[insert: addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.4.0") ] esc-:wq
sbt
optional: test
gen-idea
⇒ in Intellij Idea ⇒ import existing project ⇒ navigate to project_root
File => Project Structure => add modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment