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
  • 37 minutes ago
  • 12 years ago

Installs

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