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