Skip to content
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

Can the transport protocol use the websocket port #3213

Open
liwenkai199702 opened this issue Jul 9, 2024 · 1 comment
Open

Can the transport protocol use the websocket port #3213

liwenkai199702 opened this issue Jul 9, 2024 · 1 comment
Labels

Comments

@liwenkai199702
Copy link

I am currently using online code editing and Manoco Editor. I would like to use WebSocket to request LSP for code association. How do I implement this?

@rgrunber
Copy link
Contributor

We use LSP4J for our communication and that does seem to support websockets, eclipse-lsp4j/lsp4j#203 . The classes are under https://github.com/eclipse-lsp4j/lsp4j/tree/main/org.eclipse.lsp4j.websocket.jakarta/src/main/java/org/eclipse/lsp4j/websocket/jakarta .

I don't think we bundle this, so it's probably not supported for JDT-LS, but I would think if you built your own JDT-LS with that bundle present, it should be possible to communicate with some other client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants