8 C
Texas

How to install and configure Visual Studio Code in Windows 10

Hello, in this opportunity we will talk about Visual Studio Code. As introduction, we need to know that programming is based on instructions; these can be low or high level. In that sense, the code used for writing the instructions is very simple, and It can be generated and edited by basics text editors, like Notepad. As a matter of fact, we can use it to write snippets of code or some type of modification, but at the moment of developing more complex projects, it is really necessary to use better tools.

Under those circumstances, this is a great option to program. Now we will see some of its characteristics: is a source code editor developed by Microsoft for Windows, Linux, and macOS. In addition, It is a free software project that is distributed under the MIT license, although the executables are distributed under a non-free license. In the same way, it can use several languages (java, HTML, PHP, Python and much more) and its view is highly customizing. Besides, it runs the Intellisense code that allows autocompleting text as long we write it.

Installing Visual Studio Code

In the first place, we need to download it from the website. Here we can see the different versions of downloads (It is multiplatform). But Windows installer is what we looking for.

Visual Studio Code download site
Visual Studio Code download site

Once the file is downloaded, we need to execute it. A box with a license will appear, accept and press next.

License Agreement
License terms
- Advertisement -

In the next window, we can select the folder where the program will be installed, either the default or any other.

Select Destination Folder
Destination Folder

Additional tasks will be select in the next dialog box. Chose some and press next.

Start the installation
Start the installation

The installation will continue normally.

Installing Visual Code Studio
Installing Visual Code Studio

Wain until installation finish to launch the program

Visual Studio Code`s Installation complete
Visual Studio Code`s Installation complete

Configuring Visual Studio Code

Launch the editor and on the main page, we will see several options. But, for now, we will take care of relative to customizing: Tools and language, Settings and keybindings and color theme

Customizing Visual code Studio
Customize Visual code Studio

1.- In the first place, we need to select tools and language, and for demonstrative purpose, install Python

Installing Python on Visual code studio
Installing Python on Visual code studio

2.- Then, select Settings and keybindings in order to install keybinding, like Atom Keymap for example.

3.- Select theme for chose the color of the editor and code.

select your favorite color for the program
select your favorite color

Starting PowerShell, CMD and BASH terminal in Visual Studio Code

1) To run a terminal in it, we just open the program, select terminal, then new terminal to open a new terminal with PowerShell. Just check the images below.

Select terminal on the top of the program, and chose New Terminal
Select terminal on the top of the program, and chose New Terminal
PowerShell terminal running in Visual Studio Code
PowerShell terminal running in Visual Studio Code

2) PowerShell is default terminal, but we can select CMD by clicking in powershell and Select Default Shell

Select default shell
Select default shell
Select CMD as default shell and reboot Visual Studio Code
Select CMD as default shell and reboot Visual Studio Code

The procedure to start BASH terminal is a little more complex, but we can achieve it. In the first place, we needed to set up Windows for install BASH. With this intention, let to enable features in Windows 10, in order to enable Windows Subsystem to Linux, if you don´t know how to do that, please read our tutorial. Now reboot system

Enable feature Windows Subsystem for Linux
Enable feature Windows Subsystem for Linux

Then, go to Windows Store to download Ubuntu. Wait for download be finished and launch it. A black window will appear where we have configured the UNIX user name and password, now we are able to run and use BASH.

Next, run the program to make BASH, the default shell. In the same way, repeat step 2, and select BASH as Default Shell. Reboot program, and there you go!

Select BASH as default shell
Select BASH as default shell

Well, this is it. At this point, we can take advantage of his great features and begin programming. Visual Studio Code is a great option for developers, besides, is free and open source but backup for a giant like Microsoft.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article