Quickly find all lines matching a string or regular expression.
- Edit > Line > Filter With Regex ⌘+K ⌘+R
- Edit > Line > Filter With String ⌘+K ⌘+S
- Edit > Code Folding > Fold With Regex
- Edit > Code Folding > Fold With String
On Windows and Linux, press the ctrl key instead of the ⌘ key.
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.