Archives For Visual Studio Code

Visual Studio Code IDE

Code 1.36, the June 2019 release of Visual Studio Code, was released. The new release has updated to Electron 4.x, means it will no longer run on Linux 32-bit.

VS Code 1.36 release highlights:

  • Context menu for the status bar to hide / show individual entries.
  • Indent guides now available in File Explorer, Search view, Debug views, etc.
  • Select Default Shell command for Mac OS and Linux.
  • Control the order of task and subtask execution.
  • New debug command Jump to Cursor
  • New setting controls whether word wrap is enabled in the Debug Console.
  • New Java installer.
  • New extension integrates JS/TS nightly builds.
  • Remote Development (Preview) improvements

How to Install VS Code 1.36 in Ubuntu:

You can either download and click install the Ubuntu .deb from VS code website:

Or install the official Snap (containerized software package) from Ubuntu Software:

For Ubuntu 16.04, the snap package is not integrated into Ubuntu Software.

Open terminal (Ctrl+Alt+T) and run command to install snapd first:

sudo apt-get install snapd

Then install the VS Code IDE via command:

sudo snap install code --classic

Uninstall:

Depends on your system edition, remove VS Code either via Software Center or run command in terminal:

sudo snap remove code

MicroSoft and Canonical (the company behind Ubuntu) finally announced the official Snap package of Visual Studio Code IDE.

Which means you can install VS Code easily from Ubuntu Software and keep it always up-to-date automatically, though the old Snap package maintained by an independent developer was available for nearly two years.

4th April 2019, London, UK – As of today, Microsoft Visual Studio Code is available for Linux as a snap, providing seamless auto-updates for its users. Visual Studio Code, a free, lightweight code editor, has redefined editors for building modern web and cloud applications, with built-in support for debugging, task running, and version control for a variety of languages and frameworks.

Snaps are containerised software packages designed to work across cloud, desktop, and IoT devices. They work natively on most popular Linux distributions and feature automatic updates and rollback functionality, enhanced security, and greater flexibility for developers working within Linux environments.

Install VS Code via Snap in Ubuntu 18.04 / Higher:

Simply open Ubuntu Software, search for and install visual studio code:

Install VS Code via Snap in Ubuntu 16.04:

For Ubuntu 16.04, the snap packages are not integrated in Ubuntu Software.

Open terminal (Ctrl+Alt+T) and run command to install snapd first:

sudo apt-get install snapd

Then install the VS Code IDE via command:

sudo snap install code --classic

Uninstall:

Depends on your system edition, remove VS Code either via Software Center or run command in terminal:

sudo snap remove code

Visual Studio Code IDE 1.31 was released recently with new features, tree UI improvements, menu updates, and more.

Visual Studio Code 1.31 release highlights:

  • No longer required to reload VS Code when you install or enable an extension.
  • New tree widget
  • Improved keyboard navigation
  • Added cut command in Explorer context menu.
  • More navigation actions added to Go menu.
  • Added keyboard navigation in Linux with custom menus
  • Full multiline issue details in the Problems panel.
  • References: Show History command for the References view.
  • Semantic selection for HTML, CSS, and JSON.
  • Terminal text automatically reflows as panel width changes.
  • Custom user input for task and debug configuration.

How to Install VS Code 1.31 in Ubuntu:

The easiest way is to install the community maintained Snap package, containerized software package, which available in Ubuntu Software:

The 1.31 snap package is not available at the moment, though it auto-updates itself once you installed it.

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code released version 1.29 recently with a number of significant updates.

VS Code 1.28 release highlights according to the announcement:

  • Multiline search – Search across files with regex multiline expressions.
  • File icons in IntelliSense – Quickly distinguish file types in IntelliSense.
  • Better macOS support – Full screen mode control and Mojave Dark Mode support.
  • Collapsible stack frames – Collapse uninteresting stack frames to clearly see your code.
  • Improved Loaded Scripts view – Displays related resources such as original source files.
  • Updated extension samples – Uniform style and structure, README, and API usage.
  • CI recipe for extensions – Azure Pipelines build recipe for extensions.
  • Preview: List All References – List All References view shows reference search results.

How to Install VS Code 1.29 in Ubuntu:

The easiest way is to install the community maintained Snap (run in sandbox) package from Ubuntu Software:

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Microsoft Visual Studio Code 1.28 was released a few days ago. Here’s how to install it in Ubuntu 18.04.

VS Code 1.28 release highlights according to the announcement:

  • VS Code now ships custom icons reflect file type in your OS explorer.
  • Snippets can now be scoped to a project and shared with your team.
  • Editor Tab completion can now complete all kind of suggestions.
  • New command to go to the location of your last edit.
  • New command Save without Formatting to save a file without triggering any of the save participants
  • Rename a JS/TS file through it’s import path.
  • The new Convert to async function suggestion for JavaScript and TypeScript rewrites functions that use .then Promise chaining to use async and await
  • Git improvements: better delete conflict handling, new rebase on sync option.
  • Better Markdown folding: collapse code blocks, multi-line lists, and embedded HTML.

How to Install VS Code 1.28 in Ubuntu:

The easiest way is to install the community maintained Snap (run in sandbox) package from Ubuntu Software:

You can also install the official .deb package which is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

3. Finally install the IDE via command:

sudo apt-get install code

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code 1.26 Released

Last updated: August 14, 2018

Microsoft Visual Studio Code 1.26 was released a day ago with a number of significant updates.

According to the release note, some of the key highlights in VS Code 1.26 include:

  • Breadcrumbs – A navigation bar allows to quickly navigate between symbols and files.
  • You can now apply Quick Fixes from the Problems panel
  • User setup package for Windows is now available on stable.
  • Column selection is supported within the Integrated Terminal via Alt+click
  • “Add missing import” Quick Fix to all missing imports in a JavaScript/TypeScript file
  • JSX tags closed automatically when type > in a JavaScript or TypeScript file
  • Better JS/TS error reporting
  • Add IntelliSense autocompletions to the extension search field.

How to Install VS Code 1.26 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code IDE 1.23 was released a day ago. This new release focuses on API work to support extension authors as well as plenty of updates.

VS Code 1.23 release highlights:

  • VS Code can now highlight the active indent guide
  • Run Code Actions on save
  • NPM script explorer – Quickly find, run, and debug NPM scripts in your project.
  • Problems view filtering – Choose which files will display errors and warnings.
  • Middle mouse button column selection – Middle mouse button with drag for fast column selection.
  • CSS region folding – Create regions in your CSS/SCSS/Less code for helpful code folding.
  • Improved CSS new property support – Smart suggestions for CSS experimental properties.
  • Markdown header search – Search for Markdown headers across your entire workspace.
  • Custom Activity Bar views – Extension authors can create their own Activity Bar items.
  • New deploy website tutorial – Learn how to deploy a static website to Azure Storage.

How to Install VS Code 1.23 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

A new update of the Visual Studio Code IDE was released. Here’s how to install it in Ubuntu.

The 1.21 release of Visual Studio Code features:

  • New Notifications UI to easily manage and review VS Code notifications.
  • Integrated Terminal splitting allows to work with multiple open terminals at once.
  • Markdown preview now supports bidirectional scrolling.
  • Text buffer optimizations for large files.
  • Centered editor layout that maximize your code viewing screen real estate.
  • Drag & drop, copy & paste across open VS Code windows.
  • HTML path completion – IntelliSense for file paths in common HTML elements.
  • Language Packs in the Marketplace – Install new display languages from the Marketplace.
  • Deploy Azure Functions tutorial – Learn how to create and deploy serverless Azure Functions.
  • PREVIEW: Horizontal search results – You can now view search results in a horizontal panel.

How to Install VS Code 1.21 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Grab the deb and install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual Studio Code 1.18 Released (Howto Install)

Last updated: November 9, 2017

Visual studio code reached the 1.17 release. Here’s the release highlights and how to install it in Ubuntu.

VS Code 1.18 features:

  • Support for multi-root workspaces enabled by default.
  • Support vertical panel layout.
  • File Explorer shows modified, added, conflicting, and ignored files in a different color and with a badge.
  • Faster Windows start-up and editor performance tuning.
  • Speed up your coding with auto imports for JavaScript and TypeScript.
  • Install missing @types for TypeScript.
  • For more, see the release note.

How to Install VS Code 1.18 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Then install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Visual studio code reached the 1.17 release a day ago with Mac OS touch bar support, and some performance improvements.

VS Code 1.17 features:

  • Mac OS Touch Bar actions for navigation and debugging.
  • Folding now supports region markers.
  • Terminal rendering is up to 45 times faster with new canvas-based rendering engine
  • Automatically show module and path import suggestions while coding
  • Debug Console messages show source location (optionally)
  • Built-in Dark+ and Light+ themes now highlight regular expression components
  • new SOURCE CONTROL PROVIDERS section to view changes in multiple source control repositories.

See the video about VS Code 1.17:

How to Install VS Code 1.17 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Then install it via either Gdebi package manager or command (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and 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. Download and install the repository key via commands:

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

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

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.