First start

This is how Visual Studio Code looks on the first start. You will recognize the warning at the top mentioning the missing Git, which we'll need to download:


This is recommended and, after pressing Download Git, you will be forwarded to the download landing page of Git:

You can see the latest source release on the right-hand side and, by pressing on the Downloads section, you are also able to download Git for other platforms.

After downloading it, you will go through the installation. In this case, I am working on a Windows 10 machine and the installation is very straightforward. For most of the steps, you can just leave the default configuration. You will start with the starting page and the license agreement. Next, you need to define the destination location, which, for most cases, does not need to be changed. Afterwards, you are going to be asked for the installed components, such as file and explorer integration, followed by the Start Menu folder. Here then follows the first setting that you might want to modify. I would recommend using VSCode as the default browser for Git:

In the next window, you can adjust the PATH environment. I would recommend that you stay on the Use Git from the Windows Command Prompt setting—especially when working on a Windows machine. This is followed by the step to choose the HTTPS transport backend, then to configure the line ending conversion, and finally to configure the terminal emulator to use with Git Bash. These three steps can also be kept on the default values. Now, we are close to finishing the installation process. Some extra options follow about filesystem caching, Credential Manager, and enabling symbolic links. If you are not aware of these settings, just keep the filesystem caching and the Credential Manager enabled, which might be of help sometimes. After finishing the installation of Git you should restart Visual Studio Code. You will see that VSCode automatically finds and uses the installed Git version:

Now VSCode is up and running, but, to really make use of it, you need to install the dedicated PowerShell extensions.

To achieve this, you click either on the extension symbol or press Ctrl + Shift + X, then search for PowerShell and click on the PowerShell extension coming from Microsoft. Now, install the extension by pressing Install, which you can find on the top right-hand side:

After the installation has finished, you'll need to reload VSCode. The Install button will turn into a Reload button. Just press on it and VSCode will be reloaded. Now you can see the installed PowerShell extension:

The installation of VSCode is now completed and you are ready to use it for PowerShell development. In the next sections, some of the basic configurations and the first steps are described. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset