Saturday, 29 April 2017

AngularJS Intellisense in Visual Studio 2012

AngularJS Intellisense in Visual Studio 2012
-----------------------------------------------------------

Lot of people facing same problem  for to get Intellisense support for AngularJS in the Visual Studio HTML editor.
here are the steps 
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 .

https://drive.google.com/file/d/0B8ObCj8_2eAmSmJjU3B6aUoxcUk/view?usp=sharing

Step 3:

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


No comments:

Post a Comment

Type Script variables

Difference between var,let and const in java script and typescript -----------------------------------------------------------------------...