Bloop

Bloop

  • Install
  • Docs
  • GitHub

›IDEs

General

  • What is Bloop
  • Integration Guide

CLI

  • CLI tutorial
  • CLI --help

Build Tools

  • Overview
  • sbt
  • Maven
  • Gradle
  • Mill

IDEs

  • Overview
  • IntelliJ
  • Metals

References

  • Debugging Reference
  • Performance guide
  • Build Server
  • Built-in Launcher
  • JSON Configuration
  • Contributing Guide
Edit

Metals

Metals is a language server for Scala that supports a diverse number of text editors such as Visual Studio Code, Vim, Emacs, Eclipse, Sublime Text and Atom.

Build importCompileTestRunDebug
Metals✅✅✅✅✅

The BSP integration in metals supports build import, compilation, Test, Run, and Debug functionality.

Gif of compiler diagnostics in metals

Installation requirements

If you don't have Bloop installed locally, Metals will automatically start a Bloop server for you. However, if you'd like to utilize Bloop CLI, you'll need to ensure you have Bloop installed.

To ensure that Bloop is working correctly you'll want to make sure:

  1. Your build has at least one project in it.
  2. You use a build tool supported by Bloop

Install and use Metals

To learn how to install and use Metals in your preferred text editor, head to the Metals documentation.

Configure bloop for metals

This configuration is automatically set by Metals.

Metals requires the Download dependencies sources option enabled in your build for navigation in external dependencies to work, which is enabled by Metals automatically.

The Sbt page explains how to configure the build export step but requires you to manually add bloop's plugin in your build. However, if you're using Metals, the sbt-bloop plugin will automatically be added to your build ensuring that when you export your build, the configuration will be respected.

← IntelliJDebugging Reference →
  • Installation requirements
  • Install and use Metals
  • Configure bloop for metals
BloopBloop
Overview
What is BloopIntegrate with BloopBuild ToolsContributing
Build Tools
sbtGradleMavenMill
Social
Copyright © 2025 Bloop
Credits to @freepik for svg icons
Credits to Bazel, Babel and Metals for inspiring Bloop's website design