# Metals

> Scala language server with rich IDE features

Source: https://talira.ai/catalog/metals-56qr6f98
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / language servers](https://talira.ai/categories/developer-tools/language-servers)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]

Metals is the language server for [Scala](https://talira.ai/catalog/scala-g5wyay8j.md), giving editors IDE features through the Language Server Protocol: diagnostics from compiling on save, go to definition into project sources and Scala or Java dependencies, completions (including implementing interfaces and generating exhaustive matches), hover types, signature help, find references and fuzzy symbol search. You open a directory and import the build, and it supports sbt, Gradle, Maven and Mill through the Bloop build server, whose hot incremental compilation reports errors quickly. It works in VS Code, Vim and Neovim, Sublime Text, Emacs, Helix and other LSP editors. Part of the Scalameta project, Apache-2.0 licensed.

## Links

- Website: https://scalameta.org/metals/
- GitHub: https://github.com/scalameta/metals
- Docs: https://scalameta.org/metals/docs/

## Problems it solves

- IDE features for Scala in VS Code, Vim or Emacs without IntelliJ
- see Scala compile errors in my editor as I save
- go to definition and find references across a Scala project and its libraries
- Scala completions and type information on hover in a lightweight editor
- import an sbt, Gradle, Maven or Mill Scala build into my editor

## Features

- diagnostics from compiling on file save
- go to definition in project sources and Scala/Java dependencies
- completions, including implementing interfaces and exhaustive matches
- hover (type at point) and signature help
- find references and fuzzy symbol search
- sbt, Gradle, Maven and Mill support through Bloop
- editors: VS Code, Vim, Neovim, Sublime Text, Emacs, Helix and other LSP clients

## Trust

Overall: 0.15 out of 1.
Signals: backing 0.00, extensibility 0.00.

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [IntelliJ IDEA](https://talira.ai/catalog/intellij-idea-n9v795wh.md): The Java and Kotlin IDE for you and your agents
- [rust-analyzer](https://talira.ai/catalog/rust-analyzer-vqfntj9k.md): Bringing a great IDE experience to the Rust programming language
- [clangd](https://talira.ai/catalog/clangd-pbpm8wqc.md): clangd understands your C++ code and adds smart features to your editor
- [gopls](https://talira.ai/catalog/gopls-9tr658n7.md): The language server for Go

## Sources

[^1]: https://github.com/scalameta/metals/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://scalameta.org/metals/ (checked 24 Nov 2026)
