tide icon indicating copy to clipboard operation
tide copied to clipboard

tide + tramp

Open skormel opened this issue 9 years ago • 4 comments

hi all,

Congrantz for this great module it works fantastic.

Only I have an issue. My angular project is not in local, I access it via TRAMP (SSH), the code is decoracted, but I can't use any of the tide-commands, It always return:

eldoc error: (Server does not exist. Run M-x tide-restart-server to start it again)

If I run the proposed command. It dumps this:

(client) tsserver exists: exited abnormally with code 1.

Because tsserver must be running in local machine, but not in remote.

In remote machine I've got emacs + tide configured and 100% working.

Exists any way to fix this situation?

Thanks.

Best Regards. Antonio

skormel avatar Oct 27 '16 08:10 skormel

I myself don't use tramp and don't have time now to debug the issue. tide uses start-file-process and default-directory is set to the return value of (tide-project-root). It looks like tide-project-root needs to be modified to point to remote url https://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-processes.html

ananthakumaran avatar Oct 27 '16 10:10 ananthakumaran

I'll try to solve it but I'm completely noob with lisp/elisp (I know, I've got to study lisp).

If I could fix it, I'd create a pull request.

Thanks for all

Best Regards. Antonio.

skormel avatar Oct 27 '16 11:10 skormel

Is there any progress in making tide work correctly with tramp?

FieryCod avatar Aug 26 '17 11:08 FieryCod

Not that I know. Whoever wants it, will have to send in a patch :)

josteink avatar Aug 26 '17 12:08 josteink