IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Scala worksheet and Ammonite

Last modified: 10 August 2022

You can quickly evaluate and run Scala code using either a Scala worksheet or Ammonite.

Since in IntelliJ IDEA Scala worksheet and Ammonite files have the same file extension .sc, you need to let IntelliJ IDEA know how to treat such files in your project.