You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when working in codebases that take quite some time to compile, when I try the cancel compilation command it doesn't always work. For example I recently tried this in Dotty and looking at the LSP logs I see:
I think that cancelling i closely related to progress. So there is a check for cancel whenever work advances, there is no actual forcing of compilation stop.
Though I wonder whether this is Bloop or sbt? I think only Bloop has an actual support for cancelling. It should also get a notification about that. If it doesn't we might need to fix something on the Metals side.
Describe the bug
I noticed that when working in codebases that take quite some time to compile, when I try the cancel compilation command it doesn't always work. For example I recently tried this in Dotty and looking at the LSP logs I see:
Notice that I'm still getting notifications about compilation after the "INFO compilation cancelled".
Expected behavior
I'd expect a cancel compilation request to cancel all ongoing compilation.
Operating system
macOS
Editor/Extension
Nvim (nvim-metals)
Version of Metals
0.11.12+61-88c5e82e-SNAPSHOT
Extra context or search terms
This was using sbt as my build server.
The text was updated successfully, but these errors were encountered: