Editing files in your Linux Virtual Machine made a lot easier with Remote VSCode

  1. Using Vim — Vim is basically a lightweight text editor that allows you to write and edit a text by just using a keyboard to navigate throughout your code. The way I use this is simply by connecting to my Linux Virtual Machine via SSH and use the vim command to edit the file inside the terminal.
How Vim works on a terminal that is connected to a virtual machine via SSH
How WinSCP works for editing files from your virtual machine

Remote VSCode Setup

  1. Launch Visual Studio Code, or install it here if you don’t have it yet
  2. Go to the ‘Extensions’ page and search for ‘Remote VSCode’
I already had the extension installed here
$ sudo wget -O /usr/local/bin/rmate https://raw.github.com/aurora/rmate/master/rmate$ sudo chmod a+x /usr/local/bin/rmate
$ ssh -R 52698:localhost:52698 VIRTUAL_MACHINE_IP_ADDRESS
$ rmate demo.py

--

--

--

Software Engineer / Speaker / Passionate in AI, IoT and AR / Soon-to-be-Entrepreneur

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A quick way how to teach Siri read your upcoming Todoist tasks

Best Question Answer Sites Of India

First commit

Building a Proactive Microsoft Teams Bot — Part 2

Introduction to Logging

Design Patterns for REST-APIs

ViewModel with ViewModelProvider.Factory : The Creator of ViewModel

My Journey to Open-Source Contribution

A developer writing code on a laptop.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Philip Roimon Domingo

Philip Roimon Domingo

Software Engineer / Speaker / Passionate in AI, IoT and AR / Soon-to-be-Entrepreneur

More from Medium

How to “steal” tools from developers

Git & GitHub. What’s That?

How to Install Google Chrome 98 in Ubuntu / Rocky Linux & Fedora

Github Workflow | How powerful it can get! :P