Install Visual Studio Code on Ubuntu 18.04
In this post, I will show you how to easily install Visual Studio Code on Ubuntu 18.04. Visual Studio Code is based on the Atom Text editor.
Join the DZone community and get the full member experience.
Join For FreeIn this post, I will show you how to easily install Visual Studio Code on Ubuntu 18.04. Visual Studio Code is based on the Atom Text editor.
Visual Studio Code is a free code editor from Microsoft.
It has Intellisense and Code Debugging built in. In addition, it is highly extensible.
To begin, make sure that you have a fully updated version of Ubuntu Desktop 18.04 installed.
Next, open your browser and go to the Visual Studio Code download page.
https://code.visualstudio.com/Download
Click on the .deb link for Linux 64 Bit. (Highlighted Below)
If prompted, click on Save File.
After the file downloads, open your terminal and go to the Downloads folder.
$ cd ~/Downloads
Next, run this command to install Visual Studio Code.
sudo dpkg -i code_1.26.0-1534177765_amd64.deb
Close the terminal.
Visual Studio Code is now installed.
To run it, click on the applications icon in the lower left corner of the screen.
At the top, type Visual Studio in the Search Box to find Visual Studio Code.
Click the icon to start Visual Studio Code.
Now that you have Visual Studio Code installed, you should add some extensions for your favorite languages.
Installing Visual Studio Code Extensions
As an example, we will install support for the Rust language in Visual Studio Code.
The first step is to click on the Extensions icon in Code.
In the search box, type rust.
Click on Install for the extensions that you want to install.
Now that you have Rust extensions enabled, you can write your next Rust program using Visual Studio Code.
Conclusion
In this post, we installed Visual Studio Code on Ubuntu 18.04 Desktop.
I hope you have enjoyed this post.
If you did, then please share it and comment below. I would love to hear from you.
If you enjoyed this post, Bill has written some other great posts on Ubuntu, that you can find here:
Published at DZone with permission of Bill Ward, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments