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