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

Whoosh​Search

by rokartnaz ST3

Blazing fast out of the box search for ST3 projects of any size.

Details

Installs

  • Total 32
  • Win 16
  • OS X 7
  • Linux 9
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 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 0 0 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 0 0 0 0 1 0 1 0 2 3 3 3 6 0 0
OS X 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 3 2 1 0 1 0 1 1
Linux 0 0 0 1 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 1 1 0 0 0 0 0 0 0 1 2 1 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

WhooshSearch

A plugin for Sublime Text 3

About

WhooshSearch is a ST3 plugin which allows to index sublime projects of any size and to search for any string of text within a project blazingly fast. Search results are presented as a standard ST3 “Find Results” view with an ability to jump into files containing search hits. WhooshSearch plugin is extremely useful for working on huge projects or on codebases located remotely with high ping latency.

WhooshSearch uses Whoosh Search Engine code under the hood and does not require any additional software for its work. Just install the plugin and enjoy!

Installation

  1. Using Package Control - Recommended
  2. Download WhooshSearch repository from github and put it under ST3 Packages folder.

Usage

  1. ctrl+alt+i / super+alt+i - build a project index from scratch if it does not exists or incremetally (only files that were changed from last index build will be reindexed).

  2. ctrl+alt+x / super+alt+x - reset the index.

  3. ctrl+alt+g / super+alt+g - open WhooshSearch input panel. Use arrows UP and DOWN to navigate on search history.

  4. ctrl+s / super+s - saving current file triggers reindexing of the file if it belongs to project.

  5. Whoosh Find Results - double click on search hit to jump into the file on specific line where hit was located.

Edit Default (Windows).sublime-keymap (Linux or OSX) to change default plugin hotkeys.

Note: WhooshSearch uses status bar (bottom side) to notify users about all its activities.

Settings

{
    // Choose folders to skip while indexing
    "skip_folders":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "CMpub",
        "linux30",
        "linux50"
    ],

    // Choose file extensions to skip while indexing
    "skip_file_extensions":
    [
        "txt"
    ],

    // Choose file names (without path) to skip while indexing
    "skip_files":
    [
        "TODO.txt"
    ],

    // Store files content in index. Allows not to reread files while searching.
    // Indexing time and index space are increased if this option is set to true.
    // Search time is reduced if this option is set to true.
    "store_content" : true,

    // Maximum amount of memory in Mb to use while indexing.
    "ram_limit_mb" : 256
}

Edit WhooshSearch.sublime-settings to change the default plugin configuration.

Note: a sublime project won't be reindexed automatically when plugin configuration is changed.