3 ms·
> It’s slow What? > the plugins are ass > the LSPs are horrible for basically anything which isn’t Typescript What?? I need to edit projects on a remote mac
by subjectsigma 2y ago
> It’s slow
What?
> the plugins are ass
> the LSPs are horrible for basically anything which isn’t Typescript
What??
I need to edit projects on a remote machine nearly every day. (I do cross-platform Python dev so I need to run and test code on Windows and Linux VMs while working on a Mac.) Compare VSC’s Remote Edit plugin to TRAMP and let me know what you think. For me it’s not even a contest. TRAMP just simply doesn’t work in a majority of use cases and I’ve only had a few small hiccups with the VSC Remote Edit. Getting LSP plugins working over TRAMP on another machine is hell. I just use Emacs for org-mode and Magit now.
- zelphirkalt 2y agoThis is not a fair comparison though, since you are relying on having some probable non-free software running on the server, while Emacs is able to give you remote editing and keeps your server clean. You would have to compare what VSCode does to running Emacs server side and connecting with Emacs client to the server. Then it would be a fair comparison.
- IceDane 2y agoAnyone comparing tramp to Vscs remote editing is delusional, and I say this as an emacs user.
- otabdeveloper4 2y agoVSCode remote editing is a broken piece of shit. [Yeah, yeah, I know, I shouldn't be running NixOS and I should use a Microsoft (c) approved OS instead like all the cool kids. Wake me up in 100 years when Microsoft ceases to exist.]
- ParetoOptimal 2y agoFor fully local things like docker containers or across lan, its comparable if you use SSHControlMaster. Also, the emacs approach uses very little resources. This matters if your LSP server takes 80% of your RAM. Vscode takes 20%, emacs/tramp doesn't.
- subjectsigma 2y agoI can’t tell from this comment if this means you like VSC remote editing or dislike it
- d0mine 2y agoMost of my work projects require remote machines. But I edit local files most of the time (in Emacs). Unit tests may be run locally sometimes (docker or even on the localhost). Other tasks/tests run remotely and setup may be rather involved (VSC would be of little help here) but it is easy to use/extend (Python glues together some ssh commands and cloud APIs). The code may be synced (non CI case) using a customizable wrapper around entr & rsync (more efficient, more control, more reliable than VSC plugin)— it helps with the fast feedback loop.