Bloop is a compile server for Scala that
works with sbt and has experimental support for other build tools like Maven,
Gradle and Mill. 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".
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