Installing Visual Studio Code in Ubuntu
A fair chunk of you will know that Microsoft — no hissing at the back — has released a cross-platform code editor that runs on Linux (as well as Mac OS X and Windows).
Announced at the Build 2015 event, Microsoft has launched a desktop code editing application on Linux called Visual Studio Code.In this post we’ll take a quick look at what it is and how you can install it in Ubuntu.
Visual Studio Code for Linux
Visual Studio Code has been been built using a mix of web-based and open-source technologies, like Chromium and GitHub’s Electron app framework, and Microsoft’s own Monaco editor.
The tool is a code editor first and foremost. It is not a fully fledged IDE (Integrated Development Environment) like its namesake Visual Studio.
But that’s the point; a score of OMG! Ubuntu! readers already use regular code editors, like Sublime Text and GitHub’s Atom to make or edit apps and websites. It’s those folks that Microsoft is pitching Visual Studio code for Linux at.
Visual Studio Code supports full syntax coloring and highlighting, bracket matching and linting, plus keyboard bindings and snippets.
It also provides Github integration, similar to that found in Google’s Chrome Dev Editor, and IntelliSense support powered by open-source projects for faster working (e.g., typo correction, auto-completion, etc) with supported
Among the 30 or so programming languages currently supported by Visual Studio Code are:
Keep the alpha-status in mind when testing and keep an ear out for word of more features, including plugin support, as they arrive in the coming months.
Install Visual Studio Code in Ubuntu
Visual Studio Code is currently in preview (read; possibly buggy, missing features, etc) and available to download for free on Windows, Mac and Linux. The Linux download is a 64bit binary (not an installer) and runs from its own folder. You can download it in the last section of this post
The app is also available to install using Ubuntu Make, a command-line tool that lets you easily install a raft of IDEs and what-not, zero fuss.
To install Visual Studio Code in Ubuntu (14.04 through 15.04) using Ubuntu Make you need to run the following commands in a new Terminal window. The first adds the PPA, the second installs the tool, the third installs Visual Studio Code itself.
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update && sudo apt-get install ubuntu-make
umake web visual-studio-code
A Good Move for Everyone
The launch of Visual Studio Code on Linux will surprise some, please others and, naturally, enrage a few (hey, we all know someone who have nothing but caps-lock outrage for Microsoft).
As with the open-sourcing of server-side .Net Core last year — despite the cynical sneers aimed at it — the launch of a cross-platform code creator, debugger and compiler is yet another step in the right direction for Satya Nadella’s Microsoft.
Pragmatic and willing to engage with competitors, the company is now increasingly accepting of the fact that the right tool for the job is not always one of its own (as Microsoft’s continued partnerships with Canonical in the cloud attests).