July 20, 2012

jquery intellisense visual studio 2010

Here we can see about how to enable intellisense in visual studio 2010.

Just download the latest Jquery from the sites following:
After download please add to any folder in your website. After adding you should see similar to this.


Please add VSDoc file along with that jquery library file to provide support for intellisense. Here I have added the Jquery Version 1.7.2, you can add any version you like. So I also added the corresponding version of VSDoc. VSDoc is available for all versions of Jquery around the internet.

After adding files to the folder, please add reference to the file where you are going to write the Jquery code. After referring you should see the intellisense similar to this.

Here i have created a file script.js where i am going to write all jquery code for my website. So I am adding reference here. After referring, my file looks like this. I added reference by simply dragging and dropping the file inside my script.js, it will automatically get referred.


Here after we will get the intellisense like above image.
Reference: VS2010 Tips #7


No comments:

Post a Comment