Microsoft isn’t so popular for being a friendly company for the open-source community. However, Microsoft came up with a genius tool for the programmers that’s completely open-source, cross-platform, well-maintained and offers numerous powerful features!
Yes, Visual Studio Code, in my opinion, is one of the finest code editors you can get right now! It successfully combines the power of a simple code editor and with all the necessary parts for the core edit-build-debug cycle.
Today, let’s enjoy this awesome tool on our Linux distro!
Installing Visual Studio Code
There are several ways of getting VS Code on your system. Run the following command according to your Linux distro.
VS Code comes up in a nice DEB package for Debian/Ubuntu and derivatives. Get the latest VS Code DEB package.
Then, run the following commands in the terminal –
cd ~/Downloads/ sudo dpkg -i code_1.30.1-1545156774_amd64.deb sudo apt install -f
Get the latest VS Code PRM package. Then, run the following command –
sudo dnf install code-1.30.1-1545156893.el7.x86_64.rpm
After downloading the RPM package of VS Code, run the following command –
sudo zypper install code-1.30.1-1545156893.el7.x86_64.rpm
VS Code is available on the AUR repository. Let’s install VS Code right away!
sudo pacman -S base-devel git git clone https://aur.archlinux.org/visual-studio-code-bin.git cd visual-studio-code-bin makepkg -sri
The best way of enjoying VS Code is installing the snap package. Snap packages are universal Linux packages that offer compatibility all across the Linux distros. Run the following command –
sudo snap install vscode --classic
Using VS Code
Fire up the editor –
You can add additional features with the available extensions directly!