There needs to be a way to reload the LSP

Describe your feature request
There used to be a way to reload the LSP server when it died.
One day it disappeared and never came back.
My Repls’ LSP servers have been dying frequently and I need a way to boot it back up without refreshing/re-running/killing the Repl.

What problem(s) would this feature solve?
If there was a CLI command or just some way I could refresh the LSP server, it would make my life so much easier.

Explain what you were trying to do when you came across the problem leading to this feature request
I have been coding in two Repls at once (client & server) lately, and after just moving from one to the other for a few minutes, the other loses LSP completely. I then have to kill 1, re-run the Repl, and in some cases even refresh/quit & reopen the desktop app for it to work.

1 Like

I’m making an extension for this but you can only use it if you’re an admin because the commands API is still internal.

5 Likes

Finished it, you can try it out if you want but it probably won’t work if you aren’t an admin.

https://replit.com/extension/@LuisAFK/7834332c-347e-4918-b6d4-0bdc8551d019

1 Like

Well now I’ve also added a tool you can use apart from the commands in the command palette, so now anyone can use it.

2 Likes

Thanks a lot, man!!

This is true Replit Community Support :muscle:

2 Likes