Use Visual Studio Code to develop AngularJS applications.
(This article is also published in my public account "dotNET daily excellent article". Welcome to the QR code on the right to follow it .)
Note: After the release of VSC, especially after the last update to 0.3, many articles about VSC usage have appeared in the community. For example, this article about AngularJS development is shared today.
This article is based on AngularJS official exercise (Phonecat) and explains how to use Visual Studio Code to develop AngularJS applications.
1. First, you need to use Git to clone the Phonecat code base.
2. Start VSC and open the angular-phonecat folder.
3. Use the built-in Git function of VSC to switch between branches or labels. A powerful function of VSC is that it can intelligently perceive the "git" command, that is, it will automatically list the commands, and its branch or label name. As shown in:
1: tsd query jasmine angular-protractor -- action install -- save
After the installation is complete, you can see that the folder has an additional "typings" sub-Folder:
1: tsd query angular -- action install-save
You can add references to related tsd files.
Through the above steps, Visual Studio Code has become a powerful AngularJS development tool. In fact, I have enabled VS and VSC on the machine for a long time. For more information, see "read the original article ".
Address: http://blogs.msdn.com/ B /vscode/archive/2015/05/22/getting-started-with-angular-and-visual-studio-code.aspx