protocol used between an editor or an IDE and a language server that provides language features like auto complete, go to definition, find all references, etc.
Uses BSP to communicate LS and build tools. “Our goal in Metals is to support code navigation with as low CPU and memory overhead as possible without sacrificing rich functionality.”
Maven and Mill • Auto-fill option to case classes and functions • Code completions on keywords • Deduce values for named parameters completion • Compilation explorer • Add support for Scala 2.13 and JDK 11 • Coming soon: rename symbols, find definition, DAP, worksheets and much more!
between editors, LS, editors, build tools • Bidirectional notifications, • Client/server architecture. • Clients are build tools, LS and editors/IDEs. • Language agnostic. • JSON-RPC-protobuf.
Metals (VS Code, Sublime, vim and Atom) • Provides fast compile, test and run • Has a built-in command-line tool • Integrates with most JVM build tools • Supports JVM, Scala.js and Scala Native
and Flexible • Targets with caching • Inspectale cache graph • Commands • Can act as a build server • Play framework and Bloop support • Support for Dotty
Handles dependency resolution via coursier • Generates configurations for Bloop and Intellij • BSP server integration using ZIO • Cross-platform support (JVM, JS, LLVM) • Cross-compile modular projects made easy