Overview
IDEs can use bloop to compile, test and run Scala code fast via the Build Server Protocol (BSP). The protocol allows clients to establish a long-lived build session to, for example, receive accurate compilation diagnostics in text editors and IDEs.
There are two main IDE integrations:
- IntelliJ, the most popular Scala and Java IDE.
- Metals, a Scala language server that supports text editors such as Visual Studio Code, Vim, Emacs, Eclipse, Sublime Text and Atom.
These IDE integrations support the following BSP actions:
Build import | Compile | Test | Run | Debug | |
---|---|---|---|---|---|
IntelliJ BSP | ✅ | ✅ | ✅ | ✅ | ✅ |
Metals | ✅ | ✅ | ✅ | ✅ | ✅ |