Using
- Scala-cli with
- Visual Studio Code and
- Metals extension.
From Scala 3.5.0 onward, scala
is the same as scala-cli
.
To setup, install Scala, VS Code, Metals, git
and. Then
git clone https://github.com/spamegg1/aoc
cd aoc
scala setup-ide .
code .
I setup this to be a Scala project using the Scala Toolkit.
For example, for the puzzles that require file input / output, I use
os-lib
that comes with the Toolkit.