VS gets Javascript. How does it handle heavy jQuery usage I wonder?
Because VS 2010 is psudo-executing code within the editor, it is able to handle a bunch of scenarios (both practical and wacky) that you throw at it – and is still able to provide accurate type inference and intellisense.
For example, below we are using a for-loop and the browser’s window object to dynamically create and name multiple dynamic variables (bar1, bar2, bar3…bar9). Notice how the editor’s intellisense engine identifies and provides statement completion for them:
via JavaScript Intellisense Improvements with VS 2010 – ScottGu’s Blog.
0 Responses to “Visual Studio finally groks Javascript”