• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

filter-lines

Filter lines based on the current text selection
jessexknight
2.0.0 3,199
7
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Filter Lines Package

Filter lines based on the current text selection (including multi-line selections)

Keybindings:

Original Filter Filter & Select
ctrl+cmd+f ctrl+cmd+alt+f
original filter filter-and-select

To Do:

  • [ ] Find-and-Replace like panel with:
    • [ ] RegExp support
    • [ ] Case support
  • [x] Option to fold to zero lines instead of one (with ...)
  • [ ] Option to expand children of all filtered lines (e.g. for editing a list of json objects)
  • [ ] Preserve pre-filter folding after toggle off using hidden state
  • [x] hidden Toggle state
  • [x] flexible number of lines to keep before / after match
  • [x] option to select result

Thanks:

This package was inspired by:

  • hide-lines
  • highlight-selected

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by