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
  • 10 years ago
  • 3 hours ago
  • 12 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 984
  • Linux 733
Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18
Windows 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 0 0 0 0 0 0 0 0 0 1 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 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
Linux 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 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