3 ms·
Visual Studio Code Remote SSH? https://code.visualstudio.com/docs/remote/ssh https://code.visualstudio.com/docs/remote/ssh it will however install VS Code Serve
by jve 5y ago
Visual Studio Code Remote SSH? https://code.visualstudio.com/docs/remote/ssh https://code.visualstudio.com/docs/remote/ssh it will however install VS Code Server on target machine. So, for permanent development it is good. Not great if you only want to change one config file in PROD environment.
> The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine, virtual machine, or container with a running SSH server and take full advantage of VS Code's feature set. Once connected to a server, you can interact with files and folders anywhere on the remote filesystem.
Once connected, even terminal runs on remote host. Moreover you get to forward ports from remote host to local using VSCode UI.
- dezmou 5y agoIt also do a lot of other stuff, for instance, if you have a python linter that need the python binary to check code, then you can specify the python path of the remote machine and vs-code will use it for linting, work also with other langages like C. Also you can use embeded terminal and type "code myfile.txt" and it will open the file. If used with windows, it also automaticaly remap localhost to the machine if you are launching a local server with your terminal (can be annoying tho) Basicaly it try to do everything to make you feel that you aren't on a remote ssh connexion and it work really well
- samwillis 5y agoI have recently started using this for a project, I’m on a Mac and the legacy codebase only supports CentOS7… I have a VM setup on my machine and use VS Code to “remotely” develop on the VM. Works really well!
- captrb 5y agoI'm experimenting with using this VSCode feature to edit code on a Spark master, with the code storage on an EFS volume. So far, this seems to be allowing me to have a local-feeling environment, with a well-factored codebase that I can reference from a Jupyter notebook (inside VSCode), that has high-bandwidth and low-latency access to our data repositories. I can also choose to temporarily vertically scale the remote host if I want to run single-node operations (ie Pandas).