Quick Docs Launcher
A plugin for quick load / search any docs
Details
Installs
- Total 653
- Win 431
- Mac 125
- Linux 97
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Quick Docs Launcher
- Inspired by SublimeText2CfQuickDocsLauncher
- Provides a command for launching a quick search and launch docs base on current environment
- Quick search anything via input panel
Features
- Provides a command for launching a quick search and launch docs base on current environment
- Quick search anything via input panel
Installing
You can install it via Package Control or install manually as follow:
- cd {user sublime folder}/Packages
- git clone https://github.com/linkarys/QuickDocsLauncher
Usage
- Place the cursor around or select the tag/function to be searched/loaded
- Use
shift + alt + h
to load the doc page for specific tag/function directly - Use
shift + alt+ s
to perform an search operation against specific word - Use
shift + alt + ;
to open the input panel and use the following syntax to perform search
About Quick search
Use shift + alt + ;
(or ctrl + shift + p
on windows, cmd + shift + p
on mac and select “Search via input panel” to open input panel
Syntax
search engine arg:value [arg:value ...] keyword
Example
search array by google:
search array on mdn with language zh-CN and topic javascript:
search array on python official docs within edition 2.7:
search array on stackoverflow within topic python:
search sublime packages on https://sublime.wbond.net/:
Some available abbr for search engine are:
g
or nothing for googlepy
for pythonphp
for phpst
for stackoverflowjq
for jquerymdn
for mdnsubl
for sublime textwb
for wbondcf
for coldfusiongit
for githubgist
for gistdev
for devdocgt
for google translate
Quick load and quick search action will detect your environment automatically and load or search the on the proper source. You Should pre-define the source via Preferences->Package Settings->Quick Docs Launcher-> Settings - User
Settings
Here is a demo
{
// when perform and auick search command, if there isn't source specified already, use the following search engine by default
"default_search_engine": "https://www.google.com/search?q=",
// when perform an quick launch command, if there isn't source specified already, use the following site by default
"default_site": "http://devdocs.io/#q=",
/**
* Define the urls that used by quick launch and quick search
*
* doc_url is used by quick launch
* search_url is used by quick search
* ---------------------------------------------------------------------------
*/
"python": {
"doc_url": "http://docs.python.org/3.4/library/",
"search_url": "http://docs.python.org/3.4/search.html?check_keywords=yes&area=default&q=",
},
/**
* Define the search pattern for quick panel search
*
* The format of the source pattern can be defined as:
* "prefix": {
* "pattern": "http://xxxxx/${keyname:defaultValue}/xxxx?q="
* }
*
* Then when you type in the input panel (ctrl + shift + ; by default) with
* prefix keyname:val querystring
* It will launch a search at http://xxxxx/var/xxxx?q=querystring
* ---------------------------------------------------------------------------
*/
"search_patterns": {
"g": {
"pattern": "https://www.google.com/search?hl=${l:en}&q="
},
"mdn": {
"pattern": "https://developer.mozilla.org/${l:en-US}/search?topic=${t:}&q="
},
...
}
}
License
All of Sublime Text Quick Docs Launcher Plugin is licensed under the MIT license.
Copyright © 2012 linkarys linkarys@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.