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

Installs

  • Total 4K
  • Win 2K
  • Mac 983
  • Linux 732
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 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 2 0 0 0 1 1
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
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 1 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