jQuery + Intellisense + vs2008 Pro无法加载 [英] jquery + intellisense + vs2008 pro fails to load

查看:129
本文介绍了jQuery + Intellisense + vs2008 Pro无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用win7 + VS2008 PRO编辑我的博客(php),但似乎无法完成这项工作.

i use win7 + VS2008 PRO to edit my blog (php) and i can't seem to get this work.

我尝试安装补丁(inteli修补程序),但是它说不需要安装(我有pro sp1),这是文件夹结构:

i tried installing the patch (inteli hot fix) but it says no need to install (i have pro sp1) this is the folder structure:

js common.js 的jquery-1.3.2-vsdoc.js jquery-1.3.2.js

js common.js jquery-1.3.2-vsdoc.js jquery-1.3.2.js

我在博客上工作(不是asp或html),所以我创建了要处理的common.js文件. 我试图引用(没有空格): ///参考路径="jquery-1.3.2-vsdoc.js" (打开和关闭括号已由stackoverflow代码管理器删除)

i working on a blog (not asp or html) so i created a common.js file that i want to work on. i tried to referencing (no spaces): /// reference path="jquery-1.3.2-vsdoc.js" (openning and closing bracket were removed by stackoverflow code manager)

但我收到此错误:

更新JScript IntelliSense时出错:由于外部脚本引用中的错误,未生成客户端脚本IntelliSense信息. C:\ xampp \ htdocs \ wordpress \ wp-content \ themes \ mytheme \ includes \ js \ common.js

我有官方的jquery-1.3.2.js jquery-1.3.2.min.js和jquery-1.3.2-vsdoc2.js,是的,我删除了vsdoc文件名末尾的2 ,并尝试了小型和普通js文件,但均无法加载.

i have the official jquery-1.3.2.js jquery-1.3.2.min.js and jquery-1.3.2-vsdoc2.js and yes i removed the 2 at the end of vsdoc file name and tried both mini and normal js files and both failed to load.

我只想在我的js文件中看到一些智能提示-博客没有主页或其他内容.我为什么不能做这个工作.

i just want to see some intellisense within my js file - a blog doesn't have a masterpage or anthing. why can't i make this work.

更新了 Windows服务,包括vs2008

also updated windows services including vs2008

重置了vs2008中的所有设置

also reseted all setting in vs2008

禁用了vs2008中的所有插件

also disabled all plugins in vs2008

推荐答案

首先,检查 正确的补丁程序 (重新下载/执行以确保100%正确).
我也有带有SP1的专业版,并且可以正常工作.

First, check the correct patch (redownload/execute to be 100% sure).
I have the pro version with SP1 too, and it worked.

其次,请仔细检查右括号是否带有"/",并确保将其放入您希望在其中添加文档的.js内(在您的情况下,如果我没有记错的话,它是 common.js ).

Second, double check the closing bracket with "/", and be sure to put it inside the .js in which you are interested to have the documentation in (in your case, if i am not mistaken, it is common.js).

非常重要:如果doc文件位于另一个目录中,则必须正确地指向它,相对于 common.js 文件所在的位置.

Very important: if the doc file is in another directory, you have to point it correctly, relatively to where the common.js file is.

/// <reference path="jquery-1.3.2-vsdoc.js" />

这篇关于jQuery + Intellisense + vs2008 Pro无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆