Microsoft's Visual Studio Code editor will now run on any Linux distribution that supports Snap. Follow these steps to install VS Code on Ubuntu.
Microsoft's Visual Studio Code, sometimes called MS VCS or VS Code, is a lightweight, yet powerful code editor that has been available for Windows and macOS for a long time. Thanks to the love-fest that has developed between Microsoft and Linux over the years, and the creation of the universal package format known as Snap Packages, this editor is now available to run on any Linux distribution that supports Snap.
Visual Studio Code comes with built-in support for languages like:
It also includes extensions for other languages, such as:
VS Code also supports the .NET and Unity runtimes. Other features are:
- Built-in code search.
- Source control.
- Debugging tool.
- Color theming.
- Code can be saved as snippets (for reuse).
- And much more.
If you're a developer and want to work on the Linux platform, MS VSC might well be the tool which converts you. The following steps walk you through installing MS VSC on Ubuntu Desktop 19.04.
Installing MS VSC on Ubuntu desktop
Because Ubuntu Desktop 19.04 includes everything necessary to install Snap Packages, the installation of VS Code is quite simple. From the desktop, open a terminal window and issue the command (Figure A):
sudo snap install code --classic
Note: Visual Studio Code has to be installed using the classic confinement, as it needs access to the rest of the system.
Once the installation finishes, you're ready to fire up the tool. You'll find Visual Studio Code in your desktop menu. For example, if you use GNOME, open the Dash and type code. When the launcher appears (Figure B), click it to open the app.
Once the app opens, you can start working with a new file or edit code you previously worked on.
Linux is a great platform for developers. With more and more tools finding its way to the open source operating system, you are hard-pressed to find a better environment in which to develop. Give Microsoft Visual Studio Code a go and see if it doesn't become your editor of choice.
- How to become a developer: A cheat sheet (TechRepublic)
- How to get started with Visual Studio 2019: The best new features whatever your programming language (TechRepublic)
- Microsoft's Visual Studio 2019 Preview is available now (TechRepublic)
- Visual Studio 2019: The best new features and how to use them (free PDF) (TechRepublic Download)
- Programming language Python's popular extension for Visual Studio Code revamped (ZDNet)
- Telephone interview cheat sheet: Software developer (Tech Pro Research)
- Programming languages: Developers reveal most loved, most loathed, what pays best (ZDNet)
- It takes work to keep your data private online. These apps can help (CNET)
- Programming languages and developer career resources (TechRepublic on Flipboard)