4 ms·
https://code.visualstudio.com/docs/remote/remote-overview https://code.visualstudio.com/docs/remote/remote-overview far better and faster than sftp
by datalopers 4y ago
https://code.visualstudio.com/docs/remote/remote-overview https://code.visualstudio.com/docs/remote/remote-overview
far better and faster than sftp
- joshstrange 4y agoI looked into that plugin but we don't run any special daemon/server for editing on our servers (nor do we want to).
- dingleberry420 4y agoMaybe don't edit on a server. Have you heard of git?
- joshstrange 4y agoThere is no need to act like this. Of course I've heard of git and we use it, we just don't use local (on the computer we develop on) dev environments, we have a mix of developer-specific VMs and local physical hardware due to the nature of our business.
- heartbreak 4y agoI’d write the SFTP stuff as a script and invoke it as needed via a VS Code task. I have a few workflow-type things like this that I normally do via the CLI, but now I’ve added them as tasks to VS Code for convenience. I can also create the task at the project level and check in the JSON config so that teammates can use those same tasks.
- seabrookmx 4y ago+1 for remote ssh. If you can SFTP to the box you can use this feature. The only possible wrinkle is the developer box needs the build toolchain. If you're writing python, your remote box obviously already has it to run your app. But if you're writing Rust or golang, it's very possible the remote machine doesn't have the compilers.
- datalopers 4y agoIt's utterly life-changing instead of editing locally and using scp/sftp/unison to sync to the server. The "special daemon" is entirely transparent, the only requirement is ssh. We're also talking about a dev box here, are we not?