jQueryDocs is a Sublime Text 3 Package which shows a selected jQuery Function on api.jquery.com.
The easiest way to install is using Sublime Package Control, where you can find this package by searching for jQueryDocs
.
- Open Command Palette using menu item
Tools -> Command Palette...
- Choose
Package Control: Install Package
- Find
jQueryDocs
and hit Enter
You can also install the package manually:
- Download the .zip
- Unzip and rename the folder to
jQueryDocs
- Copy the folder into
Packages
directory, which you can find using the menu itemSublime Text -> Preferences -> Browse Packages...
Just click on a jQuery Function while holding down ALT key or select a jQuery Function and press ALT+J.
A new window will be created in your default browser loading api.jquery.com/SELECTION
You can change the default click combination by including this in your user mouse binding settings:
{
"button": "button1",
"count": 1,
"modifiers": ["alt"],
"press_command": "drag_select",
"press_args": {"by": "words"},
"command": "jquery_docs"
}
You can change the default key combination by including this in your user key binding settings:
{ "keys": ["alt+j"], "command": "jquery_docs" }
jQueryDocs was created and is maintained by Michael Worm.