PDC 2008 Goodness

by Lord Cod3n 4. November 2008 12:45

Check out here to watch some of the available videos of sessions from the PDC.

https://sessions.microsoftpdc.com/public/timeline.aspx

 

JQuery

There is a new jquery file download that will give you intellisense in Visual Studio 2008.  You can download it from here:

http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6-vsdoc.js

 

Now lets figure out how to get it to work.  I did not see instructions on the download page. 

NOTE: It seems that if the file exists in the same directory, intellisense will work.  I excluded them from my project and still was able to use intellisense.

 

This is how I did it.  I added the vsdoc file to the js folder.  I added the jquery java script file to the project.  Then I added the

/// <reference path="jquery-1.2.6-vsdoc.js" />

to my external java script file.  The articles posted below also post information how to do it inline.

 

That was not so hard.  Here is some interesting reading on it:

http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx

http://blogs.msdn.com/webdevtools/archive/2007/11/06/jscript-intellisense-a-reference-for-the-reference-tag.aspx

 

Happy Coding,

Bill

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

William Moore is the lead Software Architect and Technologist for Coden Enterprises. He has more than a decade of software development experience primarily Microsoft Platforms.  William enjoys the full gamit of coding everything from the UI down to the database.

Most comments

Page List