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

Elm Query

by gacallea ST4

A handy little package for searching Elm packages from within Sublime Text.

Labels elm, search

Details

Installs

  • Total 64
  • Win 22
  • Mac 26
  • Linux 16
Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 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
Windows 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 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Elm Query

Search the official Elm Packages website by keyword.

Install

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette
  2. Select Package Control: Install Package
  3. Select Elm Query

Usage

Settings

You can set a valid alternative URL (e.g: https://elm.dmy.fr) if you really want to.

Commands

Search Elm Packages

  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette
  2. Select Elm Query: Search Packages
  3. Type a keyword in the Input Panel and press Enter
  4. Select the desired result from the list presented in the Quick Panel
  5. Press Enter to open a browser window for the selected Elm package

Search Elm Modules

This package intends to add the functionality to search the Elm Search website to look up Elm modules by function name or type signature.

However, this is not presently possible, because of how the Elm Search website is structured. To implement this feature, it would require either of these scenarios:

  • Elm Search to offer a JSON file for the results so that it could be parsed (like Elm Packages does)
  • Elm official website to implement modules search functionality and make it available via JSON (like they do for Elm Packages already).

To provide said functionality, I'd like to contribute to the the solution, but my Elm skills are still basic. Don't hold your breath.

Key Bindings

Should you need key bindings, these are the currently implemented commands:

[
    {
        "caption": "Elm Query: Search Packages",
        "command": "elm_search_package"
    }
]

Contributing

Contributions are more than welcome :) Should you like to help out, please bear in mind that contribution should follow the guidelines specified in the pyproject.toml file. (flake8, black).