Remix.run Logo
DrBazza 3 hours ago

> Why is VS code the defacto answer nowadays?

For what I do, there's no reasonable alternative at the moment.

I'm sure someone will correct me, but it's the only editor that correctly (for some definition of correct) allows remote editing and devcontainers:

[desktop OS] -> ssh -> [dest box]

[desktop OS] -> [devcontainer]

[desktop OS] -> ssh -> [dest box] -> [devcontainer]

[desktop OS] -> ssh (jumphost) -> [dest box] -> [devcontainer]

I won't name and shame other editors (or IDEs), but either they simply can't do that, or their performance is absolutely, shockingly, abysmal.

boomlinde an hour ago | parent [-]

I would rather solve file access at an entirely different level. A filesystem is a reasonable, editor-agnostic abstraction for this, and I can use sshfs to mount a remote directory over SSH in a way that's invisible to whatever tools I prefer to use to edit the files.

If you have a jumphost chain, you can configure that in the SSH config.

I don't know what a devcontainer is exactly, but if it's a container in the sense that it runs a Linux development system, I would investigate whether that, too, could easily be set up for access via SSH or mounted locally through some other mechanism.