Home  >  Article  >  Web Front-end  >  jQuery-ui引入后Vs2008的无智能提示问题解决方法_jquery

jQuery-ui引入后Vs2008的无智能提示问题解决方法_jquery

WBOY
WBOYOriginal
2016-05-16 17:01:021015browse

问题:VS2008安装好两个补丁后,引入jQuery-vsdoc文件后,jQuery库就能智能提示了;但是如果再加入jQuery-ui库的时候,不但jQuery-ui没有智能提示,而且原本有的jQuery库的智能提示信息都没有了。

错误信息:

警告 1 更新 JScript IntelliSense 时出错: jquery-1.9.1-vsdoc.js: 'rootjQuery' 未定义 @ 47:8

见次情形:估计是jQuery-ui没有做智能感知提示。所以就会有未定义这样的警告。我也没有详细的去研究。

解决方案:

在jQuery-ui的目录下再加入一个空的JS文件,命名jquery-ui-vsdoc.js。这样每个一个感知文件。估计就不会乱找了。

jQuery-ui引入后Vs2008的无智能提示问题解决方法_jquery 

这样问题就解决了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn