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
  • 8 years ago
  • 41 minutes ago
  • 11 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 964
  • Linux 720
Apr 25 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
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 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 0 1 0 1 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 0 0 0 0 0
Linux 0 1 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

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