JavaScript Intellisense在Visual Studio 2015中不起作用 [英] JavaScript Intellisense is not working in Visual Studio 2015

查看:99
本文介绍了JavaScript Intellisense在Visual Studio 2015中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在SO以及整个Web上都有重复分配给该问题的方法.不幸的是,没有任何建议起作用.除了重新安装VS'15以外,我已完成所有工作(如果可以,请重新安装Id即可).

I know there are ALLOT of duplicates to this problem on SO as well as all over the web. Unfortunately, nothing that was suggested is working. I've done everything with the exception of reinstalling VS'15 (Id rather not if I can help it).

我访问了一个站点: _references.js后面的故事和一个在文本编辑器"的"JavaScript Intellisense"部分的选项中出现了(或没有)有趣的事情.没有对_references.js文件的引用.但是,添加此引用后,仍然没有智能感知.

One site I went to: The story behind _references.js and an interesting thing appeared (or rather it didn't) in the JavaScript Intellisense section of the Text Editor in options. The reference to the _references.js file was not there. However after adding this reference, there is still not intellisense.

我能做些什么来恢复我的智能吗?

Is there anything I can do to get my intellisense back?

推荐答案

将我的头撞在桌子上很多小时后,我找到了解决这个奇怪问题的答案.原来bootstrap.min.js脚本正在干扰JavaScript intellisense.因此,我只是在_references.js文件中注释了该脚本.另外,我将自动同步更改为false,然后智能感知又回来了.

After many hours of banging my head against my desk, I found the answer to this weird issue. Turns out that the bootstrap.min.js script was interfering with the JavaScript intellisense. So I just commented out the script in my _references.js file. Also, I changed the autosync to false and instantly the intellisense came back.

这篇关于JavaScript Intellisense在Visual Studio 2015中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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