Hacker News new | ask | show | jobs
by R0flcopt3r 1537 days ago
TRAMP has been too slow for me, and I've never had a reliable LSP session over it. Tried both eglot and lsp-mode. eglot is the better of the two for this.

I ended up creating a "runtime" script that first rsync all the files over to my remote machine, then run whatever arguments, `runtime <host> 'make'`. there are some flags too like `-s` to have it not rsync, etc. This works very well. But then this is maybe cheating since my code is still local. The reason for this is my M1 mac can't build our gigantic C++ code base for a whole host of various insane reasons.

1 comments

I've had good luck with Tramp+Aquamacs myself. There might be a short delay at save time, but I can live with that.