Skip to content

matijagrcic/AngularJS-Intellisense-For-Visual-Studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Intellisense for Visual Studio 2010 and 2012

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published