How to install vs code on Ubuntu 18.04 and 19.04

Visual Studio Code is a source-code editor created by Microsoft for Windows, Linux, and macOS.[7] It incorporates support for investigating, implanted Git control, sentence structure featuring, astute code finishing, bits, and code refactoring. It is additionally adjustable, so clients can change the editorial manager’s subject, console easy routes, and inclinations. The source code is free and open source and discharged under the tolerant MIT License.[8] The accumulated parallels are freeware and free for private or business use

Source: https://code.visualstudio.com/

Launch your Ubuntu terminal and run these following commands

sudo apt update && upgrade
sudo snap install --classic code