Open tgodzik opened 1 year ago
From what I can tell, this still needs to be done. If so, I'd be happy to take a stab at it. Also it appears that #2018 is a duplicate of this.
From what I can tell, this still needs to be done. If so, I'd be happy to take a stab at it. Also it appears that #2018 is a duplicate of this.
Sure! The entrypoint for run is in https://github.com/scalacenter/bloop/blob/main/frontend/src/main/scala/bloop/bsp/BloopBspServices.scala#L838
I would first confirm that indeed things are not cancellable, as far as I can see everything is in place to forward any cancel coming to the server to the actual process.
It' already possible to cancel debug session, however it's not possible to stop a running run or test. Since it's highly possible that ScalaCLI and Bloop will be used by scastie we need to provide support for such cancelation.