How to set-up VSC and start coding on Linux


We are going to set-up Visual Studio Code on Ubuntu Linux. Visual Studio is a Microsoft product, but with plugins and open source help, it can be used on many platforms.

We are going to install the code command in our path to make it accessible from anywhere in a terminal. We will also install some essential extensions for VSC for programming.

I have been using Visual Studio for years and once I started developing more on Linux machines I decided to give Visual Studio Code a shot. It’s a great editor, it’s light weight, highly customizable and it’s free.

I am going to demonstrate how you can use VSC as your code editor in Linux flavors such as Ubuntu and Elementary OS.

First thing you need to do is download the Debian package file from the official website. When you click the download button on the homepage, make sure you select .deb file for Linux.

Once you have downloaded the .deb file, navigate to where the file was downloaded using your Terminal app and type sudo dpkg -i “yourfile”.deb. This will initiate the installation process of VSC on your Linux machine.

Once you press Enter on your keyboard, it will ask for your root password and then proceed with the installation process.

When installation is complete, you can open VSC by clicking its icon in Applications or typing code in your Terminal app

Installing Visual Studio Code on Ubuntu Linux

Visual Studio Code is Microsoft’s cross-platform code editor for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. It is highly customizable and comes with several built-in extensions to work with a number of programming languages including JavaScript, Python, PHP, C/C++ and more.

This tutorial shows you how to install Visual Studio Code on a Linux machine running Ubuntu 18.04 Bionic Beaver.

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform – Linux, macOS, and Windows.

Installation

Download the Visual Studio Code installer for Linux and install it. You can also download the source code from the link below:

Source code (zip)

Source code (tar.gz)

After installation, you will find the Visual Studio Code Launcher in the Application Menu. The first time you start a new instance of Visual Studio Code, you will be prompted to add VS Code to your path environment variable. Click Yes to allow this.

You can now open a folder inside of Visual Studio Code and begin coding!

Visual Studio Code (VSC) is a free cross-platform source code editor. It’s developed by Microsoft for Windows, Linux, and macOS. It has a built-in debugging support, embedded Git control, syntax highlighting, code completion, integrated terminal, code refactoring, and snippets.

Visual Studio Code is one of the best text editors used for coding purpose. It is very customizable, comes out of the box with support for 60+ programming languages and has hundreds of extensions that can enhance its functionality further to meet your needs.

The main features of Visual Studio Code are as follows:

Debugger for Chrome: Debug your JavaScript code running in Google Chrome from VS Code.

IntelliSense: IntelliSense provides active hints as a code is added. The editor provides intelligent code completion, parameter info, quick fixes, along with refactoring and formatting capabilities.

Built-in Git: You can perform most common Git operations directly from the Source Control tab in VS Code without having to open a command prompt or the Git GUI tool. You can also manage your Git repositories from the Team Explorer window inside VS Code.

Languages Support: The editor supports over 30 languages including JavaScript, Python, PHP, C

If you are a web developer, especially if you’re working in JavaScript frameworks, chances are you’re already using Visual Studio Code. The editor has evolved into a great tool for web development and is a cross-platform solution with support for Windows, Linux and macOS.

Here’s how to get started on Linux Mint. First of all, we’ll download the current stable version from the official Microsoft repository.

To do this, we need to add the Microsoft repository key to our system’s repository list:

$ wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add –

Then we need to register the Microsoft Redis repository with apt:

$ sudo add-apt-repository “deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main”

Now we can update apt sources and install Visual Studio Code:

$ sudo apt update && sudo apt install code

Visual Studio Code, a text editor. It is developed by Microsoft and provides a lot of programming language support.

VS Code is available for Windows, Linux, and macOS.

In this tutorial, you will learn how to install Visual Studio Code on Linux and setup the necessary compilers to get started with C++ development.

Install Visual Studio Code on Ubuntu / Debian / Linux Mint

Installing VS code on Debian based systems like Ubuntu, Linux Mint is very easy as it is available in the official repositories. You can install it using the following commands:

sudo apt update

sudo apt install code


Leave a Reply

Your email address will not be published.