Get intellisense support for AngularJS in Visual Studio
- Copy "html_5_angularjs.xsd" from VS 2012 directory
- Go to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\schemas\html
- Paste "html_5_angularjs.xsd"
- Double click on "Schema AngularJS.reg" in VS 2012 directory
- Open Visual Studio
- Go to Tools > Options > Text Editor > HTML > Validation
- From the Target dropdown choose AngularJS
- Click OK
- Copy "html_5_angularjs.xsd from" VS 2010 directory
- Go to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\html
- Paste "html_5_angularjs.xsd"
- Double click on "Schema AngularJS.reg" in VS 2010 directory
- Open Visual Studio
- Go to Tools > Options > Text Editor > HTML > Validation
- From the Target dropdown choose AngularJS
- Click OK
It adds a new Key in the Schema
Feel free to send a pull request so that the schema is up to date
- Thanks to @mkristensen for his AngularJS Intellisense in Visual Studio 2012 post.
- Thanks to @markrendle for adding missing tags for form parts (e.g. ng-pattern) and updating to AngularJS 1.1.4.
- Matija Grcic (@matijagrcic)