Does SourceKit currently support multiple BSP connections? According to the BSP documentation, it seems that SourceKit should be able to accept multiple server config files under ./<rootDir>/.bsp/, but this doesn’t seem to work in practice.
For context, I’m trying to find a way to run a background indexing server alongside xcode-build-server, but only one server is being started in practice.
SourceKit-LSP can launch multiple BSP servers for multiple LSP workspaces but every LSP workspace can only be served by one BSP server. SourceKit-LSP will pick the lexicographically first build server config file in .bsp that serves on of the Swift / C / C++ / Obj-C / Obj-C++ languages.
If SourceKit-LSP were to launch multiple BSP servers for a single workspace, there wouldn’t be a clear BSP server to consult for build settings, target information etc. so launching multiple BSP servers for one workspace is not feasible.