Error updating jscript intellisense jquery 1 4 1


You can download VS 2008 SP1 and Visual Web Developer 2008 Express SP1 here.Two weeks ago we shipped a patch that you can apply to VS 2008 SP1 and VWD 2008 Express SP1 that causes Visual Studio to check for the presence of an optional "-vsdoc.js" file when a Java Script library is referenced, and if present to use this to drive the Java Script intellisense engine. We've worked with the j Query team to put together a j file that provides help comments and support for Java Script intellisense on chained j Query selector methods.The annotated For example, we could use j Query to make a JSON based get request, and get intellisense for the method (hanging off of $.): As well as help/intellisense for the $JSON() method's parameters: The intellisense will continue to work if you nest a callback function within the method call.For example, we might want to iterate over each JSON object returned from the server: And for each of the items we could execute another nested callback function: We could use the each callback function to dynamically append a new image to a list (the image src attribute will point to the URL of the returned JSON media image): And on each dynamically created image we could wire-up a click event handler so that when it is pressed it will disappear via an animation: Notice how the j Query intellisense works cleanly at each level of our code.A user commented back saying that intellisense did not work for him.

I also highly recommend the j Query in Action book.He is the Editor of a Developer Magazine called DNC Magazine.He has also written two EBooks 51 Recipes using j Query with ASP. The way I finally got it to work correctly for the minified file was to rename the vsdoc from jquery-1.6.1to jquery-1.6.1.I had recently posted about the j Query 1.4.1 Intellisense support for Visual Studio.Jeff King from the Web Tools team wrote up a great post earlier this week that answers a number of common questions about how Java Script intellisense works with VS 2008. One trick he talks about which I'll show here is a technique you can use when you want to have Java Script intellisense work within user-controls/partials (files).

You must have an account to comment. Please register or login here!