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