To change the protocol (e.g. by adding a new field to some request parameters) one has to:
- Update the appropriate
.xtend
file in thebsp4j
module. - Manually re-generate java sources via
sbt bsp4j/xtend
- Update the corresponding classes in
bsp4s
module
While working on changes in bsp4j
you can use
sbt
> ~; bsp4j/xtend ; bsp4j/compile
To ensure the Scala sources are formatted correctly you can run:
sbt scalaFormat