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

Hoogle​Search

by Penny Chase ST3

Hoogle Search (haskell documentation) for sublime text 3

Labels haskell, hoogle

Details

Installs

  • Total 426
  • Win 173
  • Mac 122
  • Linux 131
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 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28
Windows 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 2 0 0 0 0 0 0 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 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 1
Linux 0 0 0 0 0 0 0 0 0 0 1 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

Readme

Source
raw.​githubusercontent.​com

Hoogle Search

Hoogle, the Haskell API search engine, integrated into Sublime Text.

Installation

Install using Package Control:

  1. Run the Package Control: Install Package command
  2. Search for Hoogle Search and install

Usage

Perform a Hoogle search by:

  1. Run Hoogle Search: Search in the command palette
  2. Enter a Hoogle search query in the query panel (e.g., a function name, a data type, or a type signature).
  3. Select a function or data type from the results
  4. Press Enter to see the full documentation from Hackage in your browser

Note that you can restrict searches to specific packages or modules, or exclude specific packages or modules, by prefixing the search with a +[package|module] or -[package|module] E.g., +base [a] -> [a] only searches base and -base [a] -> [a] excludes base from the search.

Search Hoogle on selected text by:

  1. Select some text or place the cursor in a word
  2. Run Hoogle Search: Search Selection in the command palette
  3. Select a function or data type from the results
  4. Press Enter to see the full documentation from Hackage in your browser

Key Bindings

You may want to create key bindings to run these commands. Add a setting like this to your .sublime-keymap file by choosing Preferences > KeyBindings or running Preferences: Key Bindings in the command palette:

[
     { "keys": ["primary-alt+shift+h"], 
       "command": "hoogle_search"},

     { "keys": ["alt+shift+h"], 
       "command": "hoogle_search_selection"}
]

Demo

How to

Credits

Original author: S4wny Current maintainer: Penny Chase

Support

If there are any problems or you have suggestions, open an issue.