Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
fp2025:lab01 [2026/02/24 23:06] silviu [IDE] |
fp2025:lab01 [2026/02/24 23:16] (current) silviu [IDE] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ==== Installation ==== | ==== Installation ==== | ||
| - | **Scala** can be downloaded and installed on either a Windows or NIX platform (e.g. Linux, OS-X) [[https://www.scala-lang.org/download/|here]]. For this lecture you must install **Scala 3.X**, and we recommend installing it using //Coursier// (see the previous link) | + | **Scala** can be downloaded and installed on either a Windows or NIX platform (e.g. Linux, OS-X) [[https://www.scala-lang.org/download/|here]]. For this lecture you must install **Scala 3.X**, and we recommend installing it using //Coursier// (see the previous link). You will also need the a JDK, we recommand the one from Adoptium you can download from [[https://adoptium.net/|here]]. |
| Line 11: | Line 11: | ||
| One of the most widely used IDE (Integrated Development Environment) for Scala is: | One of the most widely used IDE (Integrated Development Environment) for Scala is: | ||
| - | * [[https://code.visualstudio.com/download | VSCode]] - You will need to install the Scala (Metals) plugin | + | * [[https://code.visualstudio.com/download | VSCode]] - You will need to install the Scala (Metals) and Code Runner plugins |
| - | * alternatively, you can use [[https://www.sublimetext.com/download | Sublime]], which is a simpler (faster) editor. You can add syntax highlighting plugins for Scala (see: [[https://scalameta.org/metals/docs/editors/sublime/ | scalameta ]]), as well as worksheet/REPL support (see: [[https://packagecontrol.io/packages/SublimeREPL | SublimeREPL]]). | + | * We recommend reading the official [[https://docs.scala-lang.org/scala3/book/introduction.html|Scala documentation]] for an introduction to the language |
| + | * To test the installation create a new project by going to the Metals Plugin -> Build commands -> New Scala Project and select scala/hello-world.g8, you should be able to run the code directly via the Run Code button | ||