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