11. How to edit files on a remote server using Visual Studio Code

In this video we look at how we can use Visual Studio Code to edit files directly on our Raspberry Pi from our desktop computer through an SSH tunnel. Visual Studio Code has a Microsoft extension that allows for remote access to files on external servers, and if you’ve setup an SSH alias as we did earlier in the course, this is super easy to setup, and amazingly convenient to use. Visual Studio Code remote editing via SSH is a must have. Additional point - We use an ssh tunnel to allow us to edit files on the Pi remotely throughout our initial setup process. It’s worth bearing in mind though that under normal development conditions, files should be edited locally and pushed to the Pi as part of a Continuous Integration Pipeline, which we’ll talk about later in the course.
Back to Top