Firstly you need to download and install the VSCode. This VSCode latest version is available for download in its Official website . After download the VSCode you should install and open it.
Introduction of Extensions in VSCode
VSCode is a open editor so it provide editor for all languages but to execute a code you need to add the Extension for that particular language. For running and editing your ionic code you should add ionic2-vscode Extension in yourVSCode. In the left side of VSCode Editor there are 5 icons in which the lowest one icon is use for Extension. The Extensions you may get by using shortcut key (ctrl+shift+X).
Add Extension for Ionic2 in VsCode
By pressing ctrl+shift+X you shown the part of extension where on top three dots are shown ... these dots are known as more icon.On click of it a dialog is open and shows the numbers of options to choose .you may choose the option as per your need but for getting all extension you should select Shown Recommended Extension .iN the list of all eXtension you may install your Extension (ionic2-vscode),npm