I just tried using worksheets in IntelliJ, but immediately encountered several issues:
- Definitions are compiled in-order (precluding mutual recursion and proper code organization).
- Method overloading is not supported.
- Building the project also compiles the worksheet as if it were a normal Scala file, leading to highlighting errors about illegal toplevel definitions.
Does anyone know how such issues can be avoided?
P.S.: I was using Scastie before, but kept running into limitations due to it being browser-based. I have also tried to switch to Visual Studio Code several times over the years, but I simply cannot remember how to do even the most basic things (like creating a new project) in that IDE, as it feels terribly unintuitive to me.