Closed gquerret closed 1 year ago
Looks like it is a question for vscode team
I have to admit that the exit()
entrypoint is also not called when VSCode manages a local directory. Closing the VSCode window kills the Java process, but exit() is not called. Any hint on how to manage a clean shutdown of the LS (from VSCode or any other editor) ?
When using VSCode remote workspaces (with SSH), my language server (which is using LSP4J) stays alive forever on the server. I currently implement the
shutdown
entrypoint:And also the
exit
entrypoing:In VSCode, when using File -> Close Folder or File -> Close Remote Connection, the shutdown entrypoint is called, but not exit. Is that expected ? Or is there another way to stop the LS ?