Install Microsoft Visual Studio Code In Linux
Microsoft Visual Studio Code is an open source, lightweight and powerful source code editor. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Python, PHP, Go) and runtimes (such as .NET and Unity). It is a cross-platform code editor, so you can use it in Microsoft Windows, GNU/Linux, and Mac OS X.
Visual Studio Code version 1.10 has been just released and is available for download. The latest version has brought number of significant updates such as Minimap, easy drag and support within the editor, copy text with formatting, official Linux repositories, integrated Terminal output, keybindings for tasks and file explorer, Copy code examples with full syntax highlighting and more. For more details, check the release notes.
In this tutorial, we are going to see how to install latest Visual Studio Code editor in Linux.
Install Microsoft Visual Studio Code In Linux
Microsoft developers has made VS Code repositories for different Linux distributions to ease the installation.
On Ubuntu and its derivatives, run these commands to to import singing key VS Code repository:
Then, update the repository lists and install VS Code as shown below.
On RHEL, CentOS, Fedora, run the following commands to import singing key VS Code repository:
Update the package cache and install VS Code as shown below.
On SUSE/openSUSE, run the following commands to import singing key VS Code repository.
Update the package cache and install VS Code as shown below.
Once installed, you can open the VS Code editor using command:
If you see a screen something like below, congratulations! You have successfully installed Microsoft Visual Studio Code in your Linux distribution.
You can make VS Code as default text editor for text files with the following command:
I have installed MS Visual Studio Code, now what? Refer the following links to getting started with Visual Code.
And, that’s all for now. Have you tried Visual studio in Linux? What is your thoughts about it? Give us your feedback in the comment section below.
Cheers!
Resource:
No comments:
Post a Comment