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

Code​Search

by whoenig ST3

Plugin for CodeSearch within Sublime3

Details

  • 2015.11.01.22.06.34
  • github.​com
  • github.​com
  • 9 years ago
  • 29 minutes ago
  • 11 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 974
  • Linux 726
Oct 14 Oct 13 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
Windows 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 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
Mac 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 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CodeSearch

A plugin for Sublime Text 3.

Synopsis

This plugin makes it possible to use CodeSearch within Sublime Text 3.

CodeSearch is a fast index-based searching tool.

The plugin allows to index all folders of your project file and, after you created the index, to search for a custom string or regular expression. It opens a quick selection panel to browse results and highlights matches inside files.

Installation

  • Package Control: install package CodeSearch (this is the recommended way), or

  • Copy the folder into the Packages folder.

Project Preparation

  1. Edit your project file ('Project -> Edit Project') and add the following section:

    “code_search”: { “csearchindex”: “csearchindex” }

where csearchindex is the path to the desired index file (either absolute or relative to the project file).

  1. Index your code by calling the “Code Search Index” command

Searching

  • Use the key binding (Ctrl+Alt+Shift+S on Windows), or
  • Call the “Code Search” command;
  • Enter the search query
  • The status bar will show the progress. Most of the time, you should see the results immediate in the quick panel. Switching files opens the transient view and the search string will be highlighted.
  • It is possible to cancel a search by just running the “Code Search” command again. In such a case, the current results will be shown.

Configuration

Configuration is stored in a separate, user-specific CodeSearch.sublime-settings file. See the default file for configuration options; links to both can be found in the main menu in Preferences -> Package Settings -> Code Search.


Based on Search In Project