13 ms·
Sadly the remote ssh and a few other MS extensions don't work with VSCodium
by Grimburger 4y ago
Sadly the remote ssh and a few other MS extensions don't work with VSCodium
- tpmx 4y agoThat one is closed source. It's kind of oddly designed - it ssh:es in to the remote host to download some binary from MS servers, executes it and then communicates with it using SSH TCP forwarding.
- lozenge 4y ago"Some binary" = the same version of VS Code (maybe without Electron and some other parts). Makes sense as you need to - edit files, run tasks and terminals, and run extensions which access the remote filesystem (eg Jump To Definition taking you to header files installed in system folders) - basically everything you need VS Code to do when you run it locally. The alternative would be running VS Code as a webserver remotely and the local VS Code Electron just acting like a browser window pointing at your server. It probably wouldn't feel as responsive.
- tpmx 4y agoOr just use the SFTP parts of the SSH protocol. Enabled in openssh by default.
- lozenge 4y agoDoes SFTP let you launch processes? And if so, which ones are you going to launch - are you going to use system grep to implement searching the open folder? There's a lot of different versions of grep out there!
- tpmx 4y agoThe SSH protocol lets you exec processes on the remote host. https://datatracker.ietf.org/doc/html/rfc4254#section-6.5 https://datatracker.ietf.org/doc/html/rfc4254#section-6.5
- misterdata 4y agoThe alternative is actually possible and works reasonably well from the browser: https://github.com/coder/code-server https://github.com/coder/code-server
- zamalek 4y agoI hadn't considered that option, thanks for the tip. I'm currently on Silverblue and that basically mandates the SSH extension.
- shp0ngle 4y agoAs other mentioned - it actually runs the whole VSCode remotely.
- skohan 4y agoGood reason to stay away from those extensions!
- bmitc 4y agoIs there an actual reason or just "reasons"? Because those extensions are extremely useful and enabling. I honestly am not sure how to live without them at this point. I use all three of the remote development extensions on a daily basis. https://code.visualstudio.com/docs/remote/remote-overview https://code.visualstudio.com/docs/remote/remote-overview
- dx034 4y agoThey do work with Code-Server (VSCode in Browser) though, which also works on top of the open source parts of VSCode if I'm correct? I wonder how that worked. Code-Server works surprisingly well anyways, but with VSCode built on Electron I guess it's not that much of a surprise.
- Havoc 4y ago>remote ssh That was my first thought too - the majority of the value I get out of VS is via this. Though I believe there is another IDE that has similar...forgot which one. So at least not a monopoly
- IshKebab 4y agoIntelliJ added remote development support a while ago but I've not tried it. I think their new Fleet IDE probably supports it too.
- mekster 4y agoFleet is still at pre alpha stage.
- RealStickman_ 4y agoEmacs! :)
- pxc 4y agoThe way the VSCode extension works (doesn't just rely on SFTP to sync files and doesn't require anything to be preinstalled on the remote server) is closest to Transparent Remote Access, Multiple Protocols in Emacs. Emacs' version is more flexible and a little more quirky. I would guess that like many VSCode features, Emacs was the inspiration here. https://www.emacswiki.org/emacs/TrampMode https://www.emacswiki.org/emacs/TrampMode Tons of IDEs and editors have SFTP sync plugins that can work sort of automatically, but that's pretty different.
- xigoi 4y agoI guess Vim with the built-in netrw plugin could qualify?