Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Support multiple instances of VLS #427

Closed
mheister opened this issue Feb 9, 2023 · 2 comments
Closed

Support multiple instances of VLS #427

mheister opened this issue Feb 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mheister
Copy link

mheister commented Feb 9, 2023

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

@mheister mheister added the enhancement New feature or request label Feb 9, 2023
@antono2
Copy link

antono2 commented Mar 2, 2023

+1 this
I have to run a script to kill the language client after quitting the editor. Use this to reproduce the issue.

@JalonSolov
Copy link

Try https://blog.vosca.dev/meet-v-analyzer/ instead, now that it is released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants