tide
tide copied to clipboard
tide + tramp
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
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
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.
Is there any progress in making tide work correctly with tramp?
Not that I know. Whoever wants it, will have to send in a patch :)