Home Linux Visual Studio Code - A Free and Open Source Code Editor for...

Visual Studio Code – A Free and Open Source Code Editor for Ubuntu

Visual Studio Code is one of the best and famous code editor available in the market. Microsoft has developed this cross-platform code editor which is based on Atom Text editor; another favorite Linux text editor. As I have said, it’s a multi-platform code editor that runs on Linux, Windows, macOS, etc. VSCode offers a well-integrated plugin ecosystem with thousands of ready-made plugins available. As it’s based on Atom, so it comes with some preinstalled default plugins also.

VS Code editor is much faster without any real lags using Electron, Node, and HTML/CSS. It offers a few unique features like a debugging system, IntelliSense typeahead completion, and Git integration which makes it stand apart from others. Visual Studio Code is a full packed development editor which supports a wide range of programming languages and platforms like C or C# to a latest modern platform and programming languages like Node.js and Go.

VS Code

Personally, I don’t like the Microsoft product as this company has not done anything better for the open source platform. But in the case of VS code development, MS has shown a significant contribution to the developer. Moreover, now the company has GitHub in his pocket which is the most popular open source software development platform.

The Key Highlights in VS Code 1.26


  • Breadcrumbs – Breadcrumb navigation lets you jump to symbols and files in your workspace.
  • Quick Fixes from Problems panel – Apply code fixes while reviewing warnings and errors.
  • User setup on Windows – Elevation no longer required during Windows setup.
  • Terminal column selection – Alt+click to select blocks of text in the integrated terminal.
  • Add all missing imports – Single action to add all missing imports in a JavaScript/TypeScript file.
  • JSX tag completion – Work with JSX tags in JavaScript/TypeScript just like you do in HTML.
  • Better JS/TS error reporting – Concise, clear messages with relevant source code links.
  • Improved extension search – Filter Marketplace queries to find the extensions you want.
  • Extension Pack management – Manage Extension Packs as a single unit or by individual extension.
  • Preview: Settings editor – Rich settings description display, “Table of Contents” tracks scrolling.

To see all the significant changes and improvements, check the release note.

Install Visual Studio Code in Ubuntu Linux


In this quick tutorial, I will show you how to install the Visual Studio Code in Ubuntu Linux. I will be trying to cover all the ways that you can follow. Remember, this article is for the beginner users who just came into the world of Linux and want to install this best code editor.

Method – 1: Using the Software center, Snap, and Flathub Store


This process is the easiest way to install any software in Linux. You can install VS Code by searching the distro-specific software center or from the Snap store or Flathub app store. Check how to install the software in Linux using Snap store or Flathub/flatpak, in case you don’t know. If you are not comfortable with the app store, then use the following command to install the Visual Studio Code.

a. Flatpak Command Code

Install:

flatpak install flathub com.visualstudio.code

Run:

flatpak run com.visualstudio.code

b. Snap Command Code

sudo snap install vscode --classic

Remember, Official distro-specific software center or Snap or Flathub app store takes a bit of time for updating the repositories into the latest version. In this case, you can use official or unofficial PPA or .deb packages for getting the new version.

Method – 2: Using Official “.deb” Package


In this process, first, you have to download the official .deb package for Debian or Ubuntu system.

Download VS Code “.deb”

Now you can install it by using Gdebi package manager or follow the process on how to use “.deb” packages in Ubuntu. Or else, you can run the following command:

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

This simple command will install Visual Studio Code editor in Ubuntu. Add the below repository and GPG keys, if you want to get latest updates through the software center.

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

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

How To Remove Visual Studio Code


You can use the distro-specific software center or synaptic package manager for removing the software. Or else, run the following command:

sudo apt-get remove --autoremove code

To remove the PPA, Follow “Software & Updates >> Other Software tabs.”

Remove the PPA from Software and Update Utility
Remove the PPA from Software and Update Utility

Note: The features mentioned here are not all-inclusive. The features mentioned are compiled either from their respective official websites or from my personal experience using them.

Is this tutorial on VSCode helpful? If so, please take a moment to share it on your social network. Let me know your experience and suggestions in the comment below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Post

The 20 Best R Machine Learning Packages in 2019

Almost all novice data scientists and machine learning developers are being confused about picking a programming language. They always...

The 15 Best Grocery List Apps for Android Device in 2019

What can be more irritating than spending money more than your budget in the grocery shop? You know, why...

40 Practical and Productive Example of Linux df Commands

If you're new to Linux and wondering how to get disk storage information on your system, welcome yourself in...

The 15 Best Paid Android Games That Worth Your Money

Nowadays, Android is the most used platform, and Android gaming is one of the biggest parts of it. From...

Most Talked Post

Linux or Windows: 25 Things You Must Know While Choosing The Best Platform

Choosing the best platform - Linux or Windows is complicated. Because both the system is versatile and capable of...

Most Stable Linux Distros: 5 versions of Linux We Recommend

At the very beginning, I would like to mention why the term ‘Stable’ comes in relation to Linux OS...

15 Best Things To Do After Installing Linux Mint 19 “Tara”

Linux Mint is one of the best Linux distros for newcomers, especially who comes from other Operating Systems like...

Linux Mint vs Ubuntu: 15 Facts To Know Before Choosing The Best One

Ubuntu and Linux Mint are two popular Linux distros available in the Linux community. Ubuntu is a derivative of...

Editors' Pick

Top 30 Best Game Emulator Consoles for Linux System in 2019

Everybody cherish those days when we used to play...

13 Best Ubuntu Web Browsers: Which One is Right for You?

Who doesn’t know about web browsers in this advanced...

Top 10 Best Video Editing Software for Ubuntu: How to Install Those

Video editing on Ubuntu is straightforward if you find...

Top 10 Best Free Office Suite Software as MS Office Alternative for Linux

Microsoft Office suite is definitely the most widely used...

13 Best Linux Media Server Software for Making Your Own Home Theater PC

Everyone likes to watch movies, share images, listen music...