Visual Studio 2015 jQuery intellisense not working

左心房为你撑大大i 提交于 2019-11-30 16:08:47
KingOfDaNorth

I'm using VS 2015 and MVC 5 and was having this issue. I tried all the above and nothing worked.

I then when into

Tool -> Options -> JavaScript -> Intellisense -> References

and added the

jquery-1.9.1.intellisense.js

file. Worth mentioning I copied this file from my local project to the C:\Program Files(x86)\Microsoft Visual Studio 14.0\Javascript\References folder

I restarted VS and went back into my view and still didn't have intellisense for jQuery.

Then in my view above my script section I changed my jquery reference from the .min copy to the full and the intellisense started to work right away

  1. Close your Visual Studio and restart again to check if it works or not.
  2. If not work, restart your laptop.
  3. If still not work, re-install your Visual Studio.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!