Intellisense for Visual Studio 2010 and 2012
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Content
VS 2010
VS 2012
.gitattributes
.gitignore
README.markdown

README.markdown

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