mirror of https://github.com/sbt/sbt.git
Initial draft for bsp support. This shows two communication pattern around BSP. First, if the request can be handled with the build knowledge is readily available in `NetworkChannel` we can reply immediately. `BuildServerImpl#onBspBuildTargets` is an example for that. Second, if the request requires `State`, then we can forward the parameter into a custom command, and reply back from a command. `BuildServerProtocol.bspBuildTargetSources` is an example of that since it needs to invoke tasks to generate sources. |
||
|---|---|---|
| .. | ||
| BuildServerTest.scala | ||
| EventsTest.scala | ||
| HandshakeTest.scala | ||
| ResponseTest.scala | ||
| ServerCompletionsTest.scala | ||
| TestServer.scala | ||