JQuery Intellisense does not work when any other JavaScript file is included

As the name says. If I include any other javascript file with jquery-1.4.1.js, then intellisense for jQuery will stop working. Any ideas why this is happening? As always, I had a good search, but without any luck, it should just work.

Greetings

+3
source share
1 answer

Sometimes IntelliSense gets confused by some .js files. In general, you can do nothing but remove the damaging part of the source using the trial and error.

At a minimum, in VS 2008 SP1 you can use -vsdoc.js"hack":

other.js, other-vsdoc.js .

Visual Studio IntelliSense, , IntelliSense other.js, .

, IntelliSense other.js, jQuery .

+1

Source: https://habr.com/ru/post/1732010/


All Articles