JavaScript Intellisense is not working in Visual S

2019-07-18 11:05发布

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).

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?

2条回答
Anthone
2楼-- · 2019-07-18 11:08

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.

查看更多
冷血范
3楼-- · 2019-07-18 11:09

Try changing the order of plugin references in your _references.js file.

In my case it was the JQuery-UI which I needed to move above the main JQuery reference, as explained in this post: jQuery UI breaks Visual Studio 2015 Intellisense

查看更多
登录 后发表回答