Filter Lines
Quickly find all lines matching a string or regular expression
Labels search
Details
Installs
- Total 34K
- Win 16K
- Mac 13K
- Linux 4K
Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 3 | 3 | 4 | 8 | 2 | 1 | 5 | 1 | 3 | 6 | 5 | 0 | 2 | 0 | 4 | 5 | 6 | 1 | 0 | 1 | 0 | 7 | 6 | 3 | 7 | 3 | 4 | 2 | 4 | 5 | 4 | 6 | 1 | 7 | 9 | 9 | 2 | 3 | 3 | 3 | 0 | 5 | 4 | 3 | 5 |
Mac | 3 | 7 | 3 | 2 | 5 | 0 | 3 | 4 | 6 | 2 | 5 | 5 | 0 | 2 | 6 | 4 | 8 | 1 | 4 | 0 | 1 | 3 | 5 | 4 | 3 | 2 | 1 | 0 | 5 | 6 | 2 | 6 | 7 | 3 | 3 | 5 | 8 | 4 | 5 | 1 | 1 | 0 | 4 | 5 | 6 | 6 |
Linux | 1 | 1 | 1 | 3 | 1 | 0 | 1 | 2 | 3 | 1 | 0 | 1 | 0 | 0 | 3 | 2 | 1 | 1 | 0 | 2 | 0 | 1 | 1 | 2 | 0 | 2 | 1 | 0 | 2 | 1 | 3 | 1 | 1 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 0 |
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.