AngularJS Intellisense in Visual Studio 2012

Source: Internet
Author: User

Recently, a lot of people has asked for Intellisense support for AngularJS in the Visual Studio HTML Editor. The bad news was that there was no extensibility for providing additional HTML attribute Intellisense, so I can ' t ship this Support in Web Essentials.

The good news is, we can accomplish this through a more manual mechanism.

Here's what's need to do:

Step 1

Find the file commonhtml5types.xsd located in the Visual Studio, install directory and back it up (just in case). Mine is here:C:\Program Files (x86) \microsoft Visual Studio 11.0\common7\packages\schemas\html

Step 2

Download This new version of Commonhtml5types.xsd and replace the existing one from the directory in Step 1 with It.

Step 3

Restart Visual Studio and that ' s it. You are now having all the ng-* attributes available in Intellisense. This works on My Machinetm, so please let me know if it Works on yours too.

I still want to add native-either Visual Studio or Web Essentials, so if this is something you ' re interested in , please vote for it here.

AngularJS Intellisense in Visual Studio 2012

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.