Filter Lines
Quickly find all lines matching a string or regular expression
Labels search
Details
Installs
- Total 36K
- Win 17K
- Mac 15K
- Linux 5K
Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 4 | 5 | 6 | 4 | 3 | 2 | 3 | 2 | 1 | 0 | 0 | 2 | 1 | 1 | 6 | 4 | 3 | 5 | 5 | 0 | 1 | 3 | 4 | 3 | 5 | 4 | 0 | 4 | 1 | 5 | 4 | 8 | 6 | 2 | 1 | 3 | 11 | 6 | 5 | 4 | 2 | 3 | 2 | 2 | 2 |
Mac | 0 | 2 | 5 | 4 | 4 | 1 | 1 | 2 | 6 | 4 | 6 | 1 | 3 | 0 | 0 | 0 | 5 | 4 | 6 | 4 | 1 | 2 | 5 | 3 | 7 | 1 | 4 | 1 | 2 | 6 | 6 | 6 | 6 | 1 | 0 | 3 | 1 | 3 | 4 | 2 | 2 | 2 | 2 | 5 | 3 | 1 |
Linux | 1 | 1 | 2 | 1 | 1 | 0 | 1 | 0 | 6 | 0 | 2 | 0 | 2 | 2 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 3 | 3 | 1 | 1 | 0 | 1 | 0 | 2 | 1 | 3 | 2 | 0 | 1 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 1 |
Readme
- Source
- raw.githubusercontent.com
Filter Lines
Quickly find all lines matching a string or regular expression in Sublime Text.
How to Filter
On the Edit > Line menu:
- Include Lines With Regex ⌘+K ⌘+R
- Include Lines With String ⌘+K ⌘+S
- Exclude Lines With Regex
- Exclude Lines With String
On the Edit > Code Folding menu:
- Fold Excluding Regex
- Fold Excluding String
- Fold With Regex
- Fold With String
On Windows and Linux, use ctrl instead of ⌘.
How to Install
Install with Package Control
- Install Sublime Package Control
- Open the command pallette ⌘+shift+P
- Select Install Package
- Select Filter Lines
Install with Git
- Open the Sublime Text package folder (see Sublime Text > Preferences > Browse Packages…)
- Clone this repo
- Restart Sublime Text
Demo
Thanks
Filter Lines is based on a Sublime Text plugin tutorial by Daniel Beck. If you want to write a plugin, Daniel's tutorial is a good place to start.