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

How Do I Code Search

by jlangston ST3

Sublime Text 3 instant code search utilizing https://github.com/gleitz/howdoi

Details

Installs

  • Total 1K
  • Win 482
  • Mac 387
  • Linux 243
Dec 30 Dec 29 Dec 28 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
Windows 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 1 0 0 0 0 0 0 1 0 0 0 0 0
Mac 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 1 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 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

A plugin leveraging howdoi - a unix code search tool terminal command to be useable from sublime text.

Look for How Do I: code search in command palette entery query and the response is shown in a new tab or view when the query returns

Install

Install from Package Control or git clone: https://github.com/jlangston/SublimeHowDoI into your packages folder or download the zip of the repository and place that in your packages folder

At this point you have to have howdoi installed and working from the command line for this plugin to work at all

Usage

How Do I: [-h] [-p POS] [-a] [-l] QUERY [QUERY ...]

code search tool

positional arguments:
  QUERY              the question to answer

optional arguments:
  -h, --help         show this help message and exit
  -p POS, --pos POS  select answer in specified position (default: 1)
  -a, --all          display the full text of the answer
  -l, --link         display only the answer link

Settings

Default shortcut key super + alt + h to show How Do I: search box

Settings file: syntaxes: List of languages with syntax hilighting support that the plugin will try to match depending on the howdoi question

useBuffer: Show howdoi answer in quick panel or new tab

Contributors

dnatag

Change Log * Rewrite much of the code base to make it compatible with ST3. Borrowed some codes from kemayo's sublime-text-2-goto-documentation at https://github.com/kemayo/sublime-text-2-goto-documentation.git * Add support of howdoi options except –color since ST3 have better syntax highlight scheme. * Add status message for user notification * Add main menu of Preferences