Build Server Protocol
Protocol for IDEs and build tools to communicate about compile, run, test, debug and more.
What is BSP?
The Build Server Protocol (BSP) provides endpoints for IDEs and build tools to communicate about directory layouts, external dependencies, compile, test and more.
Run, test and debug
Example of running, testing and debugging a Scala program in VS Code via BSP and the Debug Adapter Protocol.
Rich compilation model
Example of compiling multiple projects in IntelliJ via BSP. The build server can notify the client about compile progress and report compile errors.
LSP-inspired
The Build Server Protocol (BSP) is complementary to the Language Server Protocol (LSP). While LSP allows editor clients to abstract over different programming languages, BSP allows IDE clients to abstract over different build tools.
Community-driven
BSP was designed and is maintained by JetBrains, the Scala Center, and contributors from the broader Scala, Bazel and other communities