What is BSP?
The Build Server Protocol (BSP) provides endpoints for IDE and build tools to communicate about compiling, running, testing and debugging programs.
Rich compilation model
Example of compiling multiple projects in IntelliJ via BSP.
Run, test and debug
Example of running, testing and debugging a Scala program in VS Code via BSP and the Debug Adapter Protocol.
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.