In this tutorial, you will learn, how to download the Visual Studio Code editor and install it on the Windows 10 OS. And then how to create and work with the Ionic 2 project using the Visual Studio Code editor.

Visual Studio Code editor is an open source editor. So you can use it as free for your Ionic project development.

To download the Visual Studio Code editor, please go to the below link. 

https://code.visualstudio.com/

Click the download button to download the Visual Studio Code Editor.

It is the .exe file. So The installation is as usual windows standard installation. Click next-next.

Once the installation is done, click the Launch option to open the Visual Studio Code editor.

In the bottom of the Visual Studio Code editor, you can find the terminal option. 

Create a new Ionic 2 project using the below command on the terminal. 

ionic start n33 blank --v2

Don't forget to use the --v2 or else it will create the Ionic 1 project instead of Ionic 2 project. The Ionic 2 and other relevant software must be installed before using the above command. If you are not installed the Ionic Framework on your windows, use the below link to install the Ionic on windows.

https://ampersandacademy.com/tutorials/ionic-framework/installing-ionic-framework-windows-7

You can open the newly created project into the Visual Studio Code editor workspace. Go to the File->Open Folder

Browse and select the Ionic 2 project folder

That's all. The Ionic2 project loaded into the Visual Studio Code editor workspace.

To run the Ionic 2 project use the Visual Studio Code editor terminal. Use the below command in terminal to run the Ionic 2 project.

ionic serve --lab