Scala

Scala language support in Zed is provided by the community-maintained Scala extension. Report issues to: https://github.com/scalameta/metals-zed/issues

Setup

  • Install Scala with cs setup (Coursier): https://www.scala-lang.org/download/
    • brew install coursier/formulas/coursier && cs setup
  • REPL (Almond) Setup Instructions https://almond.sh/docs/quick-start-install
    • brew install --cask temurin (Eclipse foundation official OpenJDK binaries)
    • brew install coursier/formulas/coursier && cs setup
    • coursier launch --use-bootstrap almond -- --install

Configuration

Behavior of the Metals language server can be controlled with:

You can place these files in the root of your project or specifying their location in the Metals configuration. See Metals User Configuration for more.