Description
Metals is a language server for Scala that brings IDE features to your editor. You open a project directory, Metals imports the build, and you can start coding. It compiles on file save and shows errors from the build tool directly in the editor, so you do not have to switch to the console. Metals supports the sbt, Gradle, Maven and Mill build tools, and the Bloop build server runs incremental compilation so errors appear as quickly as possible. Everyday features include go to definition into your sources and into Scala and Java library dependencies, completions that help you explore library APIs, implement interfaces and generate exhaustive matches, hover that shows the type and symbol signature under the cursor, signature help with method overloads while you fill in arguments, find references across the workspace, and fuzzy search for symbols. The project is free and open source, developed on GitHub, with a Discord server and a documentation site.…
Highlights
- Compile errors from the build tool shown in the editor
- Supports sbt, Gradle, Maven and Mill
- Go to definition into library dependencies
- Completions, hover and signature help
- Find references and fuzzy symbol search
Ratings & Reviews
No ratings yet
Be the first to rate Metals.
People also visit
Kotlin Language Server
Kotlin code completion, diagnostics and more for any editor/IDE
Metals FAQ
What is Metals?
A language server for the Scala programming language. It adds IDE features such as completions, diagnostics and go to definition to the editor you already use for Scala code.
Is Metals free?
Yes. It is open source and developed on GitHub.
Which build tools does it support?
sbt, Gradle, Maven and Mill. Metals imports your build when you open a project directory.
How do I install it?
The site describes a simple setup: open a directory, import your build and start coding.
Does it show compile errors?
Yes. It compiles on file save and shows errors from the build tool inside the editor. Incremental compilation runs through the Bloop build server.
Can it find code in libraries?
Yes. Go to definition works in your project sources and in Scala and Java library dependencies, and fuzzy symbol search also covers library dependencies.
Where can I get help or contribute?
The project has a Discord server and a documentation site with pages on build tools, project goals and contributing.
What are the best Metals alternatives?
Popular alternatives to Metals include Kotlin Language Server, Meghanada Server and Cosmic-IDE. See all Metals alternatives






