Visual studio code in linux
Table of contents:
- Visual Studio Code on Linux
- characteristics
- Programming languages
- Multi platform
- Plugins
- Intellisense
- Open source
- Visual Studio and Visual Studio Code
- The Compilations
- The projects
- About Debugging
- Install Visual Studio Code on Linux
- Install Visual Studio Code on Debian, Ubuntu and derivatives
- Install Visual Studio Code on RHEL, Fedora, CentOS and derivatives
- Install Visual Studio Code on openSUSE, SLE and derivatives
- Install Visual Studio Code on Arch Linux and derivatives
Visual Studio Code is considered one of the best editors to develop in.Net, it also has compatibility with various technologies such as PHP, HTML, JavaScript, Java and C ++. This editor was proprietary for a long time. However, a few months ago it was released under the MIT license and additionally it has been improved to achieve a very good integration with Linux. In this post we will tell you about its features and how to install it on your computer.
Visual Studio Code on Linux
Who we are programmers, we know how complex it is to remember each regulation that must be respected in some programming languages such as the use of upper and lower case letters, blank spaces, tabs, opening and closing blocks, etc. That is why sophisticated tools are very useful, in this case, such as Visual Studio Code, since they provide us with a lot of benefits when developing, which makes life easier.
characteristics
Visual Studio Code has many functionalities, below I mention some of them:
Programming languages
The Programming Languages it allows are not limited to Microsoft, C # and VB. On the contrary, opening to Open Source includes editing support for: Java, Go, C, C ++, Ruby, Python, PHP, Perl, JavaScript, Groovy, Swift, PowerShell, Rust, DockerFile, CSS, HTML, XML, JSON, Lua, F #, Batch, SQL, Objective-C…
Multi platform
It works perfectly under any of the 3 best known OS, Windows, Mac OS and Linux. Their corresponding binaries can be downloaded from the official page of the tool.
Plugins
It gives us the possibility to adapt through plugins to work in the Microsoft Azure cloud and even make deployments from there.
Intellisense
This is the name given to the predictive capacity that an editor can have, while writing instructions. This way we don't have to write the complete instruction since the editor is in charge of autocomplete. Making us more productive and decreases the chances of making errors in the syntax.
Open source
As I mentioned before, your code was released a few months ago and currently the Visual Studio Code can be found on GitHub. Therefore, we can download it, analyze it, and even modify it and send suggestions to the Microsoft team so that it can be considered whether or not they are incorporated into the core of the product.
You might be interested to read the following: Microsoft is really loving Linux.
Visual Studio and Visual Studio Code
Now, it should be noted that Visual Studio and Visual Studio Code are not the same thing. In order not to make the explanation very long and elaborate, let's say it like this: Visual Studio is an IDE (Integrated Development Environment) and Visual Studio Code is a source code editor.
The Compilations
Visual Studio Code does not include the compiler, that is, they are separate, therefore we can only edit or create new code. While Visual Studio does allow us to compile.
The projects
In Visual Studio there are certain templates for the construction of project base structures. In Visual Studio Code we can build those structures but starting from scratch.
About Debugging
A project that is opened in Visual Studio Code can be viewed and modified, however, the functionalities are limited and therefore we cannot carry out a debugging, since for this we depend on the compiler to test these new changes.
Install Visual Studio Code on Linux
Lately, the Visual Studio Code development team has worked hard to bring excellent tool integration to Linux. Additionally, tutorials have been created with the steps to follow to simplify the installation process. Below are several sections with steps to follow for the installation of the tool according to the distribution you are in.
WE RECOMMEND YOUPhototonic: Light Organizer of photos and imagesInstall Visual Studio Code on Debian, Ubuntu and derivatives
For the installation of the tool in Debian, Ubuntu and derived distributions, we must execute the following commands:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor> microsoft.gpg && \ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && \ sudo sh -c 'echo "deb https://packages.microsoft.com/repos / vscode stable main "> /etc/apt/sources.list.d/vscode.list '&& \ sudo apt-get update && \ sudo apt install code code-insiders
Install Visual Studio Code on RHEL, Fedora, CentOS and derivatives
In case you have distributions like RHEK, Fedora, CentOS and derivatives, you don't have to worry, because the installation process is also simple thanks to yum.
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "\ nname = Visual Studio Code \ nbaseurl = https: //packages.microsoft.com/yumrepos/ vscode \ nenabled = 1 \ ngpgcheck = 1 \ ngpgkey = https: //packages.microsoft.com/keys/microsoft.asc "> /etc/yum.repos.d/vscode.repo 'yum check-update sudo yum install code
It is important to note that this installation will only work for 64-bit architectures.
Install Visual Studio Code on openSUSE, SLE and derivatives
In openSUSE and derivatives we can perform the installation using zypper, for this the instructions to follow are as follows:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "\ nname = Visual Studio Code \ nbaseurl = https: //packages.microsoft.com/yumrepos/ vscode \ nenabled = 1 \ ntype = rpm-md \ ngpgcheck = 1 \ ngpgkey = https: //packages.microsoft.com/keys/microsoft.asc "> /etc/zypp/repos.d/vscode.repo 'sudo zypper refresh sudo zypper install code
Install Visual Studio Code on Arch Linux and derivatives
Finally, those using the Arch Linux distribution, or a derivative of it, can easily install with yaourt. It is as simple as opening the console and executing the following instruction:
yaourt -S visual-studio-code
And you, have you already installed Visual Studio Code ?, tell us about your experience in the comments? Remember that in our Blog you will find interesting Tutorials and lots of information related to Linux.
Intel Announces Second Generation of Visual Compute Accelerator
The Visual Compute Accelerator 2 is a platform equipped with 3 Intel Xeon E3-1500 v5 processors and P580 Iris Pro graphics.
Visual studio code is added as plugin in ubuntu
Visual Studio Code has established itself as one of the preferred code editors in the developer community. Let's see how to install it in Ubuntu.
Eight gpu amd navi variants are detected in linux code
Now, we see that there can be 8 models of the Navi graphics cards that have been found in the Linux code.