Reconnecting to build server doesn't reset "Connecting to sbt" status
Describe the bug
Recently I've been having some issues while using sbt as a build server that Metals is unable to start it (a different issue that this report isn't about), but when this happens I often start sbt manually, then use the "Connect build server" command to connect to it. When I do this, the initial connection attempt is still going and it is never told to stop resulting in the status just never disappearing. For example you can see this here:
Expected behavior
I'd expect that when I use the connect to build server command that the current attempt is halted and then the progress notification reflects this.
Operating system
macOS
Editor/Extension
Nvim (nvim-metals)
Version of Metals
1.3.0+74-0500a8cd-SNAPSHOT
Extra context or search terms
No response
Maybe we should merge this issue with https://github.com/scalameta/metals/issues/2563?
Maybe we should merge this issue with #2563?
Ahhh I forgot that I also created that one 😅. Whichever you prefer. I think yea if we solved that one it may fix this one, but the problem might also be slightly different. So if you do merge them I'd recommend copying all this info over there as well to make sure that if it's addressed both situations are fixed.
but the problem might also be slightly different
Let's just leave it open then, it's connected through comments, so it should be enough to remember to test both.