This is a Sublime Text plugin allowing you to easily search the DevDocs documentation.
The plugin code is based on the Stackoverflow Plugin script by Eric Martel.
Highlight text, right click & click "Search DevDocs" to open a new tab on your web browser with the info.
- Open your command pallete with
ctrl + shift + p
(Linux/Windows) orcmd + shift + p
(OS X) - Type "devdocs"
- Click on "Search From Input"
- Type your keyword
You can also use the shortcut (ctrl + shift + d
).
To search a specific documentation, type its name and a space before your keyword. (e.g: js date)
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text 2 before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select DevDocs when the list appears.
Package Control will automatically keep Git up to date with the latest version.
If you have some problems or improvements with it, contact me via GitHub.
MIT License © Vitor Britto