JQuery 1.3.2 vsdoc does not produce Visual Studio intellisense

喜夏-厌秋 提交于 2019-12-18 17:16:33

问题


In past i have worked with JQuery 1.2 vsdoc file which generates intellisense for vs2008 sp1.

I have recently downloaded latest version of JQuery 1.3.2 and JQuery 1.3.2 vsdoc file. When i tried to get intellisense for jquery in vs2008 - I am getting following error-

Warning 1 Error updating JScript IntelliSense: C:\Documents and Settings\sonx3d\My Documents\Visual Studio 2008\Projects\WebApplication2\WebApplication2\jquery-1.3.2.js: Object doesn't support this property or method @ 2139:1

Can anyone help on this please ?


回答1:


It is working now for me. All I had to do was rename jquery-1.3.2-vsdoc2.js to jquery-1.3.2-vsdoc.js and now intellisense is working.




回答2:


Check this link http://code.google.com/p/jqueryjs/downloads/list

Download the file jquery-1.3.2-vsdoc2.js and don't use JQuery 1.3.2 vsdoc

Also check the last few comments from http://blogs.msdn.com/webdevtools/archive/2009/02/24/vsdoc-for-jquery-1-3-2-now-available.aspx

That will solve your problem.




回答3:


Read this blog - http://blogs.ipona.com/james/archive/2009/01/14/jquery-1.3-and-visual-studio-2008-intellisense.aspx

What i did is - i have downloaded (updated) version of jquery vsdoc file and added a reference in vs2008 and it worked.




回答4:


Some very useful links jQuery intellisense in Visual Studio:

  • FAQ on JavaScript Intellisense: http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx
    It explains how the path style is important to Visual Studio, ASP.NET Web Forms and ASP.NET MVC.

  • A fantastic overview of jQuery intellisense by Scott Guthrie: http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx




回答5:


For those running into an error message with: Error updating JScript IntelliSense: 'div.childNodes' is null or not an object

See this blog: http://blog.jasonkostempski.com/2009/06/jquery-132-visual-studio-2008.html#comment-form

This resolution will probably help up until they replace the file at google.



来源:https://stackoverflow.com/questions/709713/jquery-1-3-2-vsdoc-does-not-produce-visual-studio-intellisense

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!