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

Find​In​Project

by Wramberg ST3

Text search plugin for Sublime Text 3 projects

Labels find, search, project

Details

Installs

  • Total 462
  • Win 241
  • OS X 137
  • Linux 84
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 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
Windows 0 2 1 4 0 1 2 2 1 1 0 0 4 0 0 0 2 0 2 0 1 0 0 0 0 0 0 1 0 1 0 1 2 1 0 1 1 0 2 1 3 2 0 0 0 0
OS X 0 0 1 1 2 1 0 2 0 0 0 1 0 2 0 0 0 1 0 1 0 0 2 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 2 0 0 0 1
Linux 0 0 1 0 0 1 2 0 0 0 0 0 0 0 1 0 1 1 0 1 2 0 0 0 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

FindInProject

Text search plugin for Sublime Text 3 projects. This is an alternative to the default “Find in files” command that comes with Sublime Text. It includes an interactive result view and a configurable search thread that runs in the background.

example.gif

Installation

The plugin is tested on Windows and Linux but should also work on macOS. To install it from https://packagecontrol.io/ do the following:

  1. Open the command palette and find “Package Control: Install Package”
  2. Search for FindInProject and install.

To install from GitHub do the following:

  1. Locate Sublime Text packages folder by choosing Preferences -> Browse Packages… in the menu
  2. Clone or download git repository into a new folder named “FindInProject” under the packages folder

Configuration

All configuration is available through the Preferences->Package Settings->FindInProject menu. This includes

  • Default settings which can be copied into the user settings and then changed
  • Default keymap which can overridden in the user keymap
  • Default color scheme which can be copied into the user color scheme and then changed

The settings include options for

  • Encodings to try
  • Maximum line length in result view
  • Directories and file extensions to ignore
  • File sizes to ignore
  • Excessive hit count (to cancel large searches)
  • and more (descriptive comments are included in the settings file)

Usage

In normal contexts (using the default keymap) the following shortcut is available.

Shortcut Command Description
ctrl+shift+f find_in_project Opens FindInProject input panel

When in a result view (using the default keymap) the following shortcuts are available.

Shortcut Command Description
up / down find_in_project_next_line Browse back/forward in results
Pageup / Pagedown find_in_project_next_file Browse back/forward between files
Left / Right find_in_project_fold Fold/Unfold results within the selected file
Enter find_in_project_open_result Open currently selected result

For details see the keymap file available through the Preferences->Package Settings->FindInProject menu.