I added the vsdoc jquery reference in my js file:
/// <reference path="../jquery-1.4.1.vsdoc.js" />
This works fine, but once I write inside a no conflict wrapper...
(function ($) {
...here...
})(jQuery);
...IntelliSense does not work.
Why is this, and is there any way to solve this?
Try adding the <param /> tag at the beginning of your wrapper function:
/// <reference path="../jquery-1.4.1.vsdoc.js" />
(function($) { /// <param name="$" type="jQuery" />
...
})(jQuery);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With