

It's encouraged to use them with SNAPSHOT releases of Metals server. It is also possible to opt in to install the pre-release version and try out the latest cutting edge features from Metals server.Īpart from new features, pre-release versions also include many bugfixes. Opened, which includes *.sbt, *.scala and *.sc file, or a standard Scalaĭirectory structure src/main/scala is detected.

The main directory contains build.sbt or build.sc file, a Scala file is Next, open a directory containing your Scala code. dotty-ide-artifact before opening the workspace with Metals. Workspace that was previously opened with Dotty Language Server you need toįirst remove. However, if you want to work on Scala 3 code in a Marketplace by clicking on this badge or via the VS Code editor:ĭoes not need to be disabled because the Metals and Dotty extensions don'tĬonflict with each other. It's recommended to upgrade to Scala 2.12 or Scala 2.13 Installation Note that 2.11.x support is deprecated and it will be removed in future releases. Metals is developed on many operating systems andĮvery PR is tested on Ubuntu, Windows and MacOS. Points to a valid Java 8, 11 or 17 installation. Supported, please make sure the JAVA_HOME environment variable Java 8, 11, 17 provided by OpenJDK or Oracle.
