【发布时间】:2016-03-20 09:49:12
【问题描述】:
编辑:重复的问题没有解决我的问题。我已经完成了那里指定的所有操作,但 JS Intellisense 无法正常工作。我在脚本引用目录中有所有四个文件(jquery-2.1.4.js、jquery-2.1.4.min.js、jquery-2.1.4.min.map 和 jquery-2.1.4.intellisense.js),并且我已将全局引用添加到 jquery-2.1.4.js,但 Intellisense 不起作用。我没有_references.js 文件。
我已经使用 Visual Studio 大约九个月了,我刚刚在另一个网站上发现 VS 支持 Javascript Intellisense。但是,我无法弄清楚如何启用它;我从来没有过。 VS 总是说Intellisense was unable to determine an accurate completion list for this expression. The provided list contains all identifiers in the file.,我只是忽略了它。我在~/Scripts 中有一个名为jquery-2.1.4.intellisense.js 的文件,它一直都在,但我从来没有使用过Intellisense。
如何在 VS 中启用 Javascript Intellisense?它支持标准 Javascript 还是只支持我添加的包(例如 jQuery)?我正在使用 Visual Studio 2015 Professional。
【问题讨论】:
-
您是否尝试过重复中其他 4 个答案的建议?
标签: javascript visual-studio visual-studio-2015 intellisense