One
Just to see that there have been a quick racer to finish the work, now can be downloaded directly (http://data.lancefisher.net/jquery-1.2.3-intellisense.js) back to use.
That's just a quote.
<script src= "Jquery-1.2.3-intellisense.js" type= "Text/javascript" ></script>
If you need a jquery smart hint in a standalone. js file, add the line to the file
<reference path= "Jquery-1.2.3-intellisense.js"/>
It's OK.
But this JS is uncompressed version of the jqery1.2.3, plus the XML comments, 120K, the development of the line, deployment can change the pack version.
However, it seems that VS2008 to JS IntelliSense still a bit insufficient, such as JS in the overloaded function can not provide a good hint of support ... I hope we can improve again.
Two
In addition, there is a jquery XML comments generator jquery IntelliSense Header generator, which generates jquery's function signatures and XML based on the official jquery XML doc Comments Note that only the function signature is generated here, and there is no specific implementation. If the first way to deploy trouble, then you can use this signature JS, we can put the script all into a separate. js file, and then in JS reference this fake jquery, and in. aspx to refer to the real pack version of jquery.
This generator has a bug, because some of the descriptions of the jquery XML doc have a carriage return, and this generator does not do processing, causing the generated signature JS error.
I fixed the bug, the students need to click here to download. Remember: This generator generates only JQ function signatures and XML comments, which is based on jquery's official XML API Doc, which means that if you have a version of the jquery API Doc coming out, you can just download it back and overwrite the old one.
This generator generates a signature that has a better place to put the comments of overloaded methods together, that is, VS2008 's smart hints can see several different overloads of comments.
Source: cloud-dwelling communities
Below look at the effect chart:
Figure 1
Figure 2
Figure 3
Add, if you modify the script file, and VS2008 Smart tips are not updated in time, you can use the shortcut key ctrl+shift+j to update.
Figure 4