I started playing with HTML5/CSS3 and the new JavaScript API
something i noticed in VS 2010 is it doesn’t have any support for the new JavaScript API i was wondering if there is anything i can do about it
so in Vs2010 if i type :
var canvas = document.getElementById('diagonal');
var context = canvas.getContext('2d');
i don’t get any intellisense for the “getContext” method etc..
i dont wanna write the code and compile and pray it works.
any idea how can i enable intellisense for new javascript ?
I know you tagged VS2010, but the Visual Studio 11 Developer Preview, and presumably the eventual RTM, natively supports HTML5 intellisense, including support for canvas.