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
Is your feature request related to a problem? Please describe.
With the metals bsp integration, if metals starts an sbt server and then I exit my editor, the server is killed by metals. This is intentional behavior but I find it undesirable. If I connect to the server spawned by metals with sbtn, then that client session abruptly terminates when I exit my editor. Also persisting the server allows metals to reconnect quickly to the running server the next time I open my editor rather than having to wait for a new server to spawn.
Describe the solution you'd like
I'd like there to be an option to allow metals to not kill the sbt server that it forked when it exits.
Additional context
A workaround is to start an sbt server before opening vim so that metals does not spawn a new server and instead connects to the running server. Search terms:
The text was updated successfully, but these errors were encountered:
Thanks for the request @eatkins! I can understand how that behavior could be a bit frustrating if your open session just closes when Metals does. I've read through sbt/sbt#6176, and as I stated there, I just have a lot of caution when it comes to keeping the server alive after starting it, mainly because I'm not sure all users would want that, or if it'd be clear for users how to control it. So maybe having some sort of option to allow users to keep alive could be something that we'd look into.
Also, if I understand your pr in sbt/sbt#6177, this would benefit us in our situation with Metals correct? I had a similar question that was already asked in there, so I've subscribed over there and will watch the convo.
Is your feature request related to a problem? Please describe.
With the metals bsp integration, if metals starts an sbt server and then I exit my editor, the server is killed by metals. This is intentional behavior but I find it undesirable. If I connect to the server spawned by metals with sbtn, then that client session abruptly terminates when I exit my editor. Also persisting the server allows metals to reconnect quickly to the running server the next time I open my editor rather than having to wait for a new server to spawn.
Describe the solution you'd like
I'd like there to be an option to allow metals to not kill the sbt server that it forked when it exits.
Additional context
A workaround is to start an sbt server before opening vim so that metals does not spawn a new server and instead connects to the running server.
Search terms:
The text was updated successfully, but these errors were encountered: