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

Dev​Docs offline

by hectorqin ST3

Sublime quick search symbol in devdocs

Details

Installs

  • Total 788
  • Win 414
  • Mac 162
  • Linux 212
Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1
Mac 0 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 0
Linux 0 0 0 0 0 0 0 0 0 0 0 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 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime-devdocs


Author:hector

E-mail:hectorqin@163.com


Quick search symbol in devdocs offline plugin for Sublime Text 3

Installation

The easiest way to install is using Package Control, where Sublime-devdocs is listed as Devdocs offline.

  1. Open Command Palette using menu item Tools → Command Palette...

  2. Choose Package Control: Install Package

  3. Find Devdocs offline and hit Enter

Or install it by downloading the zip, extract it and put it into the package dir of sublime, rename it to “Devdocs offline”, and then it may work fine!


How to use

  1. Open Command Palette using menu item Tools → Command Palette...

  2. Choose Devdocs: All Languages

  3. Search what language you need and hit Enter. It will download the language docs from devdocs.io

  4. After download, you can use the commands the following


Commands

  1. Devdocs: All Languages Show all supported language with version in the panel, and choose language to install or uninstall

  2. Devdocs: Show Definition Search the definition of your selected symbol in the syntax matched language. If found, it will be displayed in the popup

  3. Devdocs: Search Symbol Search symbol in a quick panel, choose item to show the definition of symbol

  4. Devdocs: Set Default Version Set the syntax matched language default search version when the language has many versions

  5. Devdocs: Set Syntax Alias Set the syntax matched to which language, it's useful when the plugin can't identify the language of the syntax


Settings

  1. Default Settings

    {
        // This file is default setting of this plugin, please don't edit this file
    
        // Download proxy
        "http_proxy": "",
    
        // Max height and width of popup
        "popup_max_height": 1080,
        "popup_max_width": 1280,
    
        // Set true to use style file to set custom styles, this is experimental
        "use_style": false,
    
        // Default language version for symbol search
        "language_default_version": {
    
        },
        // Usually, this plugin parse the language type from the syntax setting of the view, this may be not accurate, you can set this configuration to set the syntax alias
        "syntax_alias":{
    
        },
        // languageWithVersion as key, languageForPath as value. You can set it When the path is wrong.
        "language_slug_alias":{
    
        }
    }
    
  2. If you want to modify the setting, please use menu item Preferences → Package Settings → Devdocs offline → Settings – User


keys

```js
[
    { "keys": ["ctrl+alt+d"], "command": "devdocs_show_definition"},
    { "keys": ["ctrl+alt+s"], "command": "devdocs_search_symbol"},
]

```

License

Apache