This project hosts a collection of common jQuery code snippets for use in Visual Studio 2012, 2013, and 2015. See a demo video on YouTube here: http://www.youtube.com/watch?v=Escy0hbEkI8&hd=1.
- Open Visual Studio 2012/2013/2015.
- Navigate to Tools > Extensions and Updates.
- Search Online for "jquery code snippets".
- Select the "jQuery Code Snippets" extension and click Install.
- Restart Visual Studio.
- Start using the code snippets.
You can also download and install the extension from the Visual Studio Gallery.
There are over 130 code snippets for jQuery included. Check out the snippet listing.
v1.6.0
- Added
jqOff
,jqOffSel
, andjqOnSel
snippets. Thanks @everettcaleb! - Removed
type="text/javascript"
from all script tags in HTML snippets. - Updated HTML snippet default library versions to latest.
Please feel free to submit pull requests to the master
branch.