Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] String search #224

Open
crumblingstatue opened this issue Oct 4, 2024 · 1 comment
Open

[Feature] String search #224

crumblingstatue opened this issue Oct 4, 2024 · 1 comment

Comments

@crumblingstatue
Copy link

Sometimes I have a huge output, and I would like to be able to quickly find a lint/error/etc. of interest.

Example use case

  • I enable clippy::pedantic
  • There is tons of warnings, so I toggle summary view to find interesting lints
  • I see an interesting lint that I would like to enable, but the summary view doesn't show the lint name
  • I untoggle summary view, but that resets the scroll, so I'm not at the same lint anymore
  • I need a way to find that lint again in the sea of output (by searching for part of the lint message), but there is no search feature

I reflexively reach for /, since it's a standard binding in a pager for string search, so that would be a nice default binding for it.

@Canop
Copy link
Owner

Canop commented Oct 4, 2024

I reflexively reach for /, since it's a standard binding in a pager for string search, so that would be a nice default binding for it.

You can be confident I couldn't choose any other one ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants