Skip to content

IntelliJ IDEA for Scala Development

Márton Elekes edited this page Jun 17, 2020 · 4 revisions

Download the Scala archive file from http://www.scala-lang.org/download/ and uncompress it.

Creating a simple Scala project

Set Scala home to the directory (e.g. ~/scala-2.11.0/).

Using the Scala console

Right click a Scala item (e.g. file, class name), pick Run Scala Console.... Press Ctrl + Enter to evaluate the expression.

scala> 1+2
res1: Int = 3

Creating a Scala project with Maven

Show type information for Scala expressions

Press Alt + =. (source)

Clone this wiki locally