Filter Lines
Quickly find all lines matching a string or regular expression
Labels search
Details
Installs
- Total 38K
- Win 17K
- Mac 15K
- Linux 5K
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 | Apr 24 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 4 | 3 | 0 | 0 | 4 | 2 | 7 | 4 | 0 | 1 | 0 | 2 | 1 | 7 | 1 | 1 | 4 | 0 | 0 | 3 | 5 | 3 | 2 | 2 | 0 | 4 | 1 | 5 | 3 | 3 | 2 | 1 | 5 | 8 | 5 | 4 | 3 | 2 | 0 | 0 | 4 | 5 | 1 | 7 | 2 |
Mac | 4 | 4 | 6 | 1 | 0 | 6 | 7 | 6 | 7 | 7 | 2 | 3 | 1 | 2 | 3 | 6 | 3 | 1 | 4 | 3 | 7 | 4 | 9 | 1 | 1 | 1 | 4 | 9 | 6 | 7 | 6 | 0 | 2 | 2 | 4 | 12 | 4 | 5 | 0 | 0 | 2 | 3 | 7 | 2 | 7 | 1 |
Linux | 3 | 2 | 0 | 1 | 1 | 2 | 1 | 0 | 3 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 2 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 1 | 0 | 0 | 2 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.