Quickly find all lines matching a string or regular expression.
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, 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.