Skip to content

Commit

Permalink
Update DEV.md
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Chabelski <ged.subfan@gmail.com>
  • Loading branch information
MaciejG604 and Gedochao committed Jan 13, 2023
1 parent 80a346c commit 4671fc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ Building Scala CLI requires JVM 17 to work properly.
In theory, our build is able to download and install for its own needs JVM 17 on some OSes however it may not work in
Intellij / Metals out of the box.

When working with IntelliJ make sure that under `File -> Project Structure`:
When working with IntelliJ make sure that the project's Java is set correctly.
To confirm that, check under `File -> Project Structure`:
- in `Project Settings/Project` `SDK` and `Language level` is set to **17**
- in `Project Settings/Modules` all the modules have `Language level` set to **17**
- in `Platform Settings/SDKs` only **Java 17** is visible
Otherwise, some IDE features may not work correctly, i.e. the debugger might crash upon connection.

The Scala CLI sources ship with Mill launchers, so that Mill itself doesn't need to be installed on your system.

Expand Down

0 comments on commit 4671fc0

Please sign in to comment.