/MozillaQuery

Improve your workflow when working in a Mozilla environment.

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

MozillaQuery

Improve your workflow when working in a Mozilla environment.

A plugin that allows you to query DXR, MDN, and Bugzilla from within Sublime.

Installation

  1. Open the Command Palette by pressing +Shift+P on Mac or Ctrl+Shift+P on Windows
  2. Type in Package Control: Install Package and press Enter
  3. Type MozillaQuery and hit Enter

Usage

  1. Open up the Command Palette by pressing +Shift+P on Mac or Ctrl+Shift+P on Windows
  2. Type in the the command for the site you want to query (Ex: MDN Search) and press Enter
  3. Enter in your query (Ex: Arrow Functions) and press Enter

Command Palette Actions:

Input Commands

  • MDN Search... (command name: mdn_search)
  • DXR Search... (command name: dxr_search)
  • Bugzilla Search... (command name: bugzilla_search)

Selection Commands

  • MDN Search Current Selection (command name: mdn_search_selection)
  • DXR Search Current Selection (command name: dxr_search_selection)
  • Bugzilla Search Current Selection (command name: bugzilla_search_selection)

Setting up hotkeys:

  1. Open up your User keybindings file (Preferences -> Key Bindings -> User)
  2. Add an entry with the key combination you want to use as well as the name of the command

Example:

[
    ...
    { "keys": ["alt+m"], "command": "mdn_search" }
]

License

MPL