Closed daviwil closed 6 years ago
Is there any way to make an error notification show up when you stop trying to restart the server?
Looks great! I do think we should tell the user if we give up trying to restart it though - at least for now. should be as easy as dropping a call in to atom.notifications.error
Sounds good, will add that real quick!
Added this, how's the wording look?
Looks good! Let's merge :)
Done, thanks a lot!
Add AutoLanguageClient.restartServers API
This change adds a new restartServers() API to AutoLanguageClient so that implementors of the class can easily restart all active language servers for their client in the workspace.
Add language server auto-restart
This change adds language server auto-restart behavior when a language server exits or crashes unexpectedly. The restart logic allows a language server to be restarted up to 5 times within 3 minutes and then stops auto-restarting after reaching that limit.