Visual Studio Code

Visual Studio Code is a developer-friendly code editor from Microsoft. Yes, the same Microsoft that I’m not really a big fan of. The editor is supposed to be really nice, with built-in support for Git, JavaScript, TypeScript and Node.js. Plus it’s open source, with the code hosted at this GitHub repository.

For those times when I need to look at code, I mostly use Sublime Text, but for the next few weeks or months, I’ll be trialling Visual Studio Code. But first I had to install it. This post shows how I did it on Ubuntu 16.10. Same method works on Ubuntu 17.04.

Installation packages for Visual Studio Code are not in the official Ubuntu repository, but there are binary installation packages that you may download from the project’s download page. Another avenue for installation is via snaps, universal packages that work across Linux distributions.

Related Post:  Ubuntu 14.10 review

Install Visual Studio Code from .deb file

To start with this method, download the .deb file from here and save it to your downloads folder. Then use the following command to install it:

# install using the .deb file

sudo dpkg -i vscode_1.12.*_amd64.deb


After installation has completed, start it from the launcher.

Install Visual Studio Code from snap

Installing Visual Studio Code from snap requires that the snapd service be running, which is the default on Ubuntu. Use the following commands to install it:

# To install Visual Studio Code from snap, first find it
# > indicates output

snap find vscode
> Name    Version            Developer      Notes    Summary
> vscode  1.12.2-1494422229  flexiondotorg  classic  Code editing. Redefined.

# Then install it
# the --classic option enables classic mode and disables security confinement

sudo snap install --classic vscode
> vscode 1.12.2-1494422229 from 'flexiondotorg' installed


After installation has completed using this method, launch it from the command line by typing the vscode command. Started from the command line or from the launcher will get you a main window like that in Figure 1. In may ways, Visual Studio Code is just like the Atom editor, though it appears to be a lot more resource-friendly.

Visual Studio Code
Figure 1: Main interface of Visual Studio Code

Visual Studio Code
Figure 2: Rookie Ruby code in Visual Studio Code

Visual Studio Code ships with dozens of extensions. I’ll report back over the next few months on any issues I find while using this application.

Visual Studio Code extensions
Figure 3: Visual Studio Code extensions


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.