ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cold​Fusion Docs Launcher

by linkarys ALL

Searches adobe coldfusion 10 wiki doc with the current selection in Sublime Text 2 / 3

Details

  • 2.0.4
  • github.​com
  • 11 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 6K
  • Win 5K
  • Mac 1K
  • Linux 404
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 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 2 0 0 0 0 0 0 0 0 0 0 1 0 2 1
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 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 0

Readme

Source
raw.​githubusercontent.​com

Coldfusion Docs Launcher

  • Provides a command for launching a quick search and launch docs base on current environment
  • Quick search anything via input panel

Provides a command for launching a coldfusion 10 quick doc search for the word at the cursor

Fork from SublimeText2CfQuickDocsLauncher

Installation

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 quick search panel and use the following syntax to perform search

    search engine arg:value [arg:value ...] keyword
    

    e.g.

    • search keyword array by google:
    array
    
    • search keyword array by google with language zh:
    g l:zh array
    
    • search keyword array by python with edition 2.7:
    py e:2.7 array
    
    • search keyword python array by stackoverflow:
    st python array
    

    All the available abbr for search engine are:

  • g or nothing for google

  • py for python

  • php for php

  • st for stackoverflow

  • jq for jquery

  • mdn for mdn

  • subl for sublime text

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->CF Docs Launcher

Settings

Here is a demo

{
    // The following source will be used when plug-in could not find a specific source base on current environment
    "default": "https://www.google.com/search?q=",

    /**
     * Use of quick launch and quick search
     *
     * doc_url is use for quick launch
     * search_url is use for 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=",
    },

    /**
     * Use for quick panel search
     *
     * You should defined the source pattern following the following format:
     *  "prefix": {
     *      "pattern": "http://xxxxx/${keyname:defaultValue}/xxxx?q="
     *  }
     *
     *  The 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="
        }
    }
}