lite-xl-lsp
lite-xl-lsp copied to clipboard
Support for LSP over TCP?
Perhaps a bridge would be the best way to do this
Some more questions that come to mind:
- About the bridge: How to implement this? using a plain Lua curl/wget wrapper?
- How necessary is this functionality? Is there any LSP server that only implements TCP as a medium of communication?
- Are their any performance advantages or disadvantages?
- that would make the most sense to keep everything using lua
- the Godot LSP server is one such example
- i don't know
haha, introducing socat
socat TCP4:localhost:port STDOUT
EDIT: please don't tell me its websocket, I can't-
it's websocket
mmm, maybe we can just use netcat, I think it is also available for windows (lots of ports... and should be standard in all other platforms (Linux, Mac).
I tried it with wscat and godot said it was connected but no LSP stuff worked on lite-xl's end
Perhaps there's some flow control thing (eg. NUL characters).
@vincens2005 did you tried to configure lite-xl with godot since?
i've been busy lately so no
haha, introducing
socatsocat TCP4:localhost:port STDOUTEDIT: please don't tell me its websocket, I can't-
We have wsocat lol