Archives For Visual Studio Code

Visual Studio Code IDE

Microsoft Visual Studio Code has reached the 1.14 release earlier today with many great new features.

VS Code 1.14 release highlights:

  • Integrated terminal improvements – Find support, select/copy multiple pages
  • Command Palette MRU list – Quickly find and run your recently used commands
  • New Tasks menu in top-level menu bar.
  • Automatic indentation – Auto indent while typing, moving, and pasting source code.
  • Emmet abbreviation enhancements – Add Emmet to any language. Multi-cursor support.
  • New Diff review pane – Navigate Diff editor changes quickly with F7, displayed in patch format.
  • Angular debugging recipe – Debug your Angular client in VS Code.
  • Better screen reader support – Aria properties to better present list and drop-down items
  • Preview: 64 bit Windows build – Try out the Windows 64 bit version (Insiders build).
  • Preview: Multi-root workspaces – Open multiple projects in the same editor (Insiders build).

Download / Install VS Code in Ubuntu:

Visual Studio Code is available as Snap app for Ubuntu Linux, though it’s version 1.13.1 at the moment of writing.

Also the official .deb installer is available for download at the link below:

VS Code Download Page

Download the .deb package and click install via Ubuntu Software or Gdebi package manager.

Add Visual Studio repository:

For those who want to add VS code Linux repository so to receive updates via Software Updater along with other system updates:

1. Open terminal via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Then download and install the key (need curl installed) via 2 commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

Visual Studio Code IDE

MicroSoft’s Visual Studio Code IDE now is super easy to install in Ubuntu 14.04, Ubuntu 16.04, and higher via the Snap package format.

David Callé announced the availability of Visual Studio Code as a Snap a day ago:

Launched in 2015 by Microsoft, Visual Studio Code has imposed itself as one of the preferred code editors in the developer community. Cross-platform (powered by Electron), it features a marketplace of more than 3000 extensions where any language can find its linters, debuggers and test runners.

Visual Studio Code

To install Visual Studio Code in all current Ubuntu releases, simply run command (open terminal via Ctrl+Alt+T):

sudo snap install --classic vscode

That’s it! Installed snaps are automatically refreshed, so you’ll always have the latest release of VS Code installed.

In addition, if you’re first time installing a Snap package in Ubuntu, you need to first install snapd, the service which runs on your machine and keeps track of your installed snaps, via command:

sudo apt install snapd

Like traditional deb packages, the snap version of the software can be launched either from Unity Dash, Gnome application launcher, or other desktop menu, or via command vscode.

Uninstall:

To remove VS Code, run the snap command with remove flag:

sudo snap remove vscode