Skip to content

Setting up IntelliJ

vernunft edited this page Sep 24, 2014 · 8 revisions

Scala Plugin

The Scala plugin for IntelliJ IDEA needs to be installed first (plug-in manager of IntelliJ)

Setting up the Scala project

The tool sbt (scala build tool) can manage, build and test scala projects. With the plugin sbt-idea it can also create project files for working with IntelliJ IDEA.

  • Install sbt (e.g. by sudo yum install sbt)
  • Install the sbt idea plugin:
    • Add the following line to ~/.sbt/0.13/plugins/build.sbt: addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
  • Run sbt gen-idea in a new directory/in the cloned repo directory (that will become the project root directory)
Clone this wiki locally