Kudos to CraigTP
Summary:
-
navigate to the [Tools] > [Options] > Text Editor > JavaScript > IntelliSense > References options
-
select Implicit (Web)
you can find “~/Scripts/_references.js”
(if you want to put it in different place, change it here) -
go to ~/Scripts and add new item “_references.js”
-
add
/// <reference path="path\jquery-1.7.1.js" />
in “_references.js”or
/// <reference path="~\root\path\jquery-1.7.1.js" />
Happy coding 🙂
Edit note:
Remember to put jquery-1.7.1-vsdoc.js in the same folder with jquery-1.7.1.js
After making above mentioned changes, if it is still not working try restarting visual studio.