Support multiple instances of VLS
mheister opened this issue · comments
Some editors spawn separate language server instances for separate projects (emacs/lsp-mode in my case). Someone may also wish to open multiple editor instances with V language support.
VLS seems to be using a default port number to communicate with its child process, regardless of socket or stdio mode. This can be worked around by specifying a port for the language server with the --port
argument, in which case the internal communication would use the given port number plus one.
This limitation is also mentioned in #394
Edit: I would like to work on this if deemed useful
+1 this
I have to run a script to kill the language client after quitting the editor. Use this to reproduce the issue.
Try https://blog.vosca.dev/meet-v-analyzer/ instead, now that it is released.