eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
613 stars 145 forks source link

Does it support LSP over TCP? #696

Closed ghost closed 1 year ago

ghost commented 1 year ago

I don't know where to ask so I posted the question here. Please pardon me if I posted in the wrong place. Thank you.

jonahgraham commented 1 year ago

The transport part is not implemented by core LSP4J, the interface to LSP4J is input and output streams you can connect to whatever you like, including a socket stream.

In addition, in the past people have contributed additional modules to provide a websocket connect in https://github.com/eclipse/lsp4j/tree/main/org.eclipse.lsp4j.websocket (or jakarta version)

Please see Launch and connect with a LanguageClient