What is BSP?
The Build Server Protocol (BSP) provides endpoints for IDE and build tools to communicate about compiling, running, testing and debugging programs.
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.
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.