-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I connect with multiple LSP clients? #1421
Comments
jdt.ls is not designed to communicate with multiple clients. I am not aware of any LSP implementations capable of connecting with multiple clients to be honest. |
@lepantella @fbricon How you solved this problem? How you planned your scaling? We use jdt.ls as the backend to provide code intelligence to our users. We plan to allow potentially 500+ users to edit Java code at the same time. We use monaco editor and monaco language client. |
Guys still this open ? I need a solution too. |
In addition, it would be nice to allow the client to connect to the LS as a server even if only one client is supported. The client may not have a static address or it may be on a private network. This is creating a problem for the way I would like to be able to use it. It would be nice if it could run as a service so that it's always available. Each time I start LSP in Emacs, it has to start jdt.ls. |
hi guys:) have anyone succeeded in this? |
I tried setting up CLIENT_PORT environment variable to 3344, but as I read in the documentation, the eclipse.jdt.ls actually connects to client instead of client connecting to the server. I have multiple monaco editors in multiple browsers (angular) and I can't launch a 500 MB Java instance for every one of them. What is the point of the server then if not to serve things? That's also the main thing that confused me with XML LSP lemminx.
The text was updated successfully, but these errors were encountered: