Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.99 KB

README.markdown

File metadata and controls

54 lines (37 loc) · 1.99 KB

AngularJS Intellisense for Visual Studio 2010 and 2012

Why should you care?

Get intellisense support for AngularJS in Visual Studio

Intellisense

Quick start

Visual Studio 2012

  • 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

Visual Studio 2010

  • 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

Tools options

  • From the Target dropdown choose AngularJS

HTML validation

  • Click OK

What does *.reg do?

It adds a new Key in the Schema

Registry editor

Contributing

Feel free to send a pull request so that the schema is up to date

Credits

  • 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.

Coordinators

Community

License