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 608
  • Win 314
  • OS X 166
  • Linux 128
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 Mar 11 Mar 10
Windows 0 0 1 0 2 0 1 1 2 0 1 2 0 0 0 0 0 1 0 1 5 2 0 0 1 2 0 2 0 1 1 2 2 0 1 1 0 0 4 3 0 0 1 0 1
OS X 0 0 0 1 1 0 0 0 0 0 2 0 2 1 0 0 1 0 0 0 0 1 0 0 1 0 1 1 1 1 0 2 0 0 0 0 1 0 0 0 1 1 0 0 0
Linux 0 0 0 0 1 0 0 1 2 0 0 0 3 0 3 0 0 5 1 1 1 0 0 1 1 0 0 2 0 0 0 1 1 0 0 1 0 0 1 0 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.