Use Visual Studio Code to develop AngularJS applications.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.