Bloop is a compile server for Scala that
works with sbt and has support for other build tools like Maven, Gradle, Mill,
Fury and Seed. If your workspace contains a
.bloop/ directory with Bloop JSON
files then Metals will automatically connect to it.
To manually tell Metals to connect with Bloop, run the "Connect to build server"
build.connect) command. In VS Code, open the the "Command palette"
Cmd + Shift + P) and search "connect to build server".
In case of any issues, it's also possible to restart a running Bloop server using the
Restart Bloop server command (id:
Installing Bloop CLI
To compile, test and run from your terminal install the
interface with the instructions here: https://scalacenter.github.io/bloop/setup
Customizing build import
Consult the Bloop docs for customizing build import for sbt: https://scalacenter.github.io/bloop/docs/build-tools/sbt
IntegrationTestand other custom configurations
- Speed up build import
- Enable sbt project references (source dependencies)
- Export main class