For Installing the software needed to work with Creative Scala. There are 3 pathways:
Text editor and a terminal:
Recommended by Creative Scala tutorial
Intellij-Scala-Bundle:
Significantly saves installation time
Recommended for people who have no preference/ don’t know which one to use/ have no environment setup
Intellij IDEA:
Setup/ Config required
Suitable for people who are familiar with Intellij.
The installation steps can be viewed in Creative Scala tutorial.
Finding an efficient workflow is important. In Creative Scala, students are likely to run code much more frequently, and make much smaller changes, than is typical in most development workflows. I find the fastest workflow to use the :paste
command in the Scala console. A lot of people don’t know about this so here’s a quick rundown of how to use it:
console
commandUse the :paste
command to load the file of interest. In the template project this is Example.scala
.
The command is :paste src/main/scala/Example.scala
. Note that tab completion works! You don’t have to type this all out!
:paste
the file again. Note you can just press the up arrow to access previous commands in the console. No need to type it out again!The bundle saves a significant amount of time if the student do not have anything setup on the machine.
After downloading the bundle, you can simply extract the archive and run the application.
Please visit here.
Please visit here
A brief installation guide can be found on Creative Scala.
Click here to go back to the Workshop Day page.