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

MDN Search Doc

by nucliweb ST2/ST3

Sublime Text MDN Search Doc

Labels doc, documentation

Details

  • 2016.10.12.11.38.35
  • github.​com
  • github.​com
  • 2 years ago
  • 1 hour ago
  • 4 years ago

Installs

  • Total 2K
  • Win 538
  • OS X 621
  • Linux 655
Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0
OS X 0 1 1 1 0 1 0 0 0 0 1 0 1 1 0 1 0 2 0 0 0 2 0 0 2 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 5 1 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

Readme

Source
raw.​githubusercontent.​com

MDN Search Doc

Sublime Text MDN Search Doc is a plugin allows you to consult the documentation in the Mozilla Developer Network MDN

Installation

Use the Sublime Package Control and search for MDN Search Doc

or

Copy the python file to your Packages/User Folder. Add this line to the User Keybindings

{ "keys": ["ctrl+alt+m"], "command": "mdn_doc" }

Usage

Mark or place your cursor over a property and use the shortcut “ctrl+alt+m” or right click for context menu and select MDN Search Doc… to open a new tab on you web browser with the info.

Tip: Use multiple selection to display info on all selected elements.

FAQ

  1. How can I change shortcut?

    Go to:

    Sublime Text  -> Preferences -> Package Settings -> MDN Search Doc -> Key Bindings - User
    
    [
        {
            "keys": ["ctrl+alt+m"], "command": "mdn_doc"
        }
    ]
    
  2. How to change the default language for search in MDN?

    Sublime Text -> Preferences -> Package Settings -> MDN Search Doc -> Settings - User
    

    and add:

    {
        "language"   :  "en-US"
    }
    

    Avalaible languages on Mozilla Developer Network

    ar - عربي

    bn-BD - বাংলা (বাংলাদেশ)

    ca - català

    cs - Čeština

    de - Deutsch

    el - Ελληνικά

    en-US - English

    es - Español

    fa - فارسی

    fi - suomi

    fr - Français

    fy-NL - Frysk

    ga-IE - Gaeilge (Éire)

    he - עברית

    hi-IN - हिन्दी (भारत)

    hr - Hrvatski

    hu - Magyar

    id - Bahasa Indonesia

    it - Italiano

    ja - 日本語

    ka - ქართული

    ko - 한국어

    ml - മലയാളം

    ms - ﺐﻫﺎﺳ ﻡﻼﻳﻭ

    nl - Nederlands

    pl - Polski

    pt-BR - Português (do Brasil)

    pt-PT - Português (Europeu)

    ro - română

    ru - Русский

    sq - Shqip

    ta - தமிழ்

    th - ไทย

    tr - Türkçe

    vi - Tiếng Việt

    zh-CN - 中文 (简体)

    zh-TW - 正體中文 (繁體)

Contact

Joan Leon

joan.leon@gmail.com

@nucliweb

Thanks

MDN Search Doc it's inspired in Sublime Text Caniuse by Tim Kleinschmidt tim.kleinschmidt@gmail.com