-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support websocket connection #260
Comments
Websocket connection in lsp4J is coming in 0.8 version, planned to be released in August eclipse-lsp4j/lsp4j#203 |
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
possible start o fimplementation https://github.com/apupier/camel-language-server-1/tree/260-provideWebsocketConnection but not sure what is the simplest way to use the javax.websocket.server.ServerEndpointConfig |
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
as we ar enot using a classical SpringBoot project but just repackaging using springboot. I'm wondering if it is not easier/lighter to use the reference implementation Tyrus: https://tyrus-project.github.io/documentation/1.12/index/getting-started.html |
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- use Tyrus, the reference implementation - connection through non-configurable port 8025 - camel server jar needs to launched with --websocket Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- use Tyrus, the reference implementation - connection through non-configurable port 8025 - camel server jar needs to launched with --websocket Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
the messageLtatch is used to ensure the server has been started before trying to connect Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- use Tyrus, the reference implementation - connection through non-configurable port 8025 - camel server jar needs to launched with --websocket Signed-off-by: Aurélien Pupier <apupier@redhat.com>
the messageLtatch is used to ensure the server has been started before trying to connect Signed-off-by: Aurélien Pupier <apupier@redhat.com>
follow-up:
|
to test it manually, recommend to use the CodeMirror example https://github.com/camel-tooling/camel-lsp-client-codemirror |
verified with GitHub codemirror example and locally started LSP server with --websocket parameter |
Currently the connection is on stdin/stdout.
it would be useful to have websocket connection available so can be consumed from https://github.com/wylieconlon/lsp-editor-adapter
The text was updated successfully, but these errors were encountered: