I've been poking around a bit at lsp-mode to see what it would take to integrate it with Tramp. Blocker right now is that the call to (make-process) doesn't have any Tramp hooks.
Other packages use start-file-process to pick up Tramp support, but that function doesn't support stderr-separation. Might need to get more creative for lsp-mode.
Probably we should add a file name handler for make-process to Emacs core and Tramp, similar to what start-file-process does.
Will be nice to have this feature.
Has anyone ever used this?
(defun lsp--make-tcp-connection (name command command-fn host port stderr)
Any news on this?
I am not sure whether start-file-process could do the job. At this point I believe it is feasible to make this work by doing:
nc to pipe stdin/stdout as a TCP socket. I will start working on this when I have time since this is the most up-voted issue.
Most helpful comment
I will start working on this when I have time since this is the most up-voted issue.