Visual Studio Code or VS Code for short is a very popular, free, and open-sourced code editor. This post will walk you through the process of installing VS Code on Windows System. We'll also quickly talk about creating projects that will be used in Visual Studio Code.
Let's first install the VS Code on the Windows System. It will require approximately 300 MB of free space.
Install VS Code on Windows
To get Visual Studio Code, go to the VS Code official website and click the big "Download" button. Below this button, there are further links for Web which runs the VS Code online, Other platforms to check the available downloads for all the platforms and Insiders edition to download latest prerelease version.
Run the installer after it has been downloaded. The steps to install VS Code on the Windows platform are as follows:
As shown above, we can open or create new files in VS Code, as well as open folders and clone Git repositories.
So, now that we have VS Code installed, what now? How to create a new project when there is no "New project" option in the code editor?
When working with VS Code, you will need to also work inside the terminal (Command Prompt or PowerShell in Windows). This is where we use language or framework-specific command-line interface or CLI tool to create new projects.
Once we have created a project, we open that project folder in VS Code.
VS Code language support
We install them by opening the Extensions View and looking for them in the Marketplace. Simply click on the big Extensions Icon located on the left side of VS Code as shown below:
In this article, we went through all the installation steps to install Visual Studio Code on the Windows System. Once installed, the VS Code allows you to create a new file, open the file or open the project. Unlike the Visual Studio IDE, where we have the "Create New Project" option, we create projects with VS Code using CLI tools in the terminal. Depending on which language/framework is used by the project, we might also need to install some additional extensions so that the VS Code can fully support it.