admin管理员组文章数量:1334124
My VS Code extension is starting a language server (win, exe) on basis of the language server protocol via a socket connection. Under some circumstances (coding problems) that languageserver.exe crashes, so no support for the VS Code editor is available any more. The end-user does not get informed about the loss of support, except that the editor screen does not get any refreshes by a language server validation.
What would be the best concept to detect and report an unavailable language server service to the end-user?
Should there be a cyclic "ping" to the language server or is there a special request with a timeout? Or is there a feature in VS Code which tests the connection to the language server?
本文标签: visual studio codeHow to report a crashed language server to the userStack Overflow
版权声明:本文标题:visual studio code - How to report a crashed language server to the user - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742358714a2459933.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论