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

Dismiss items #304

Open
Canop opened this issue Jan 17, 2025 · 1 comment
Open

Dismiss items #304

Canop opened this issue Jan 17, 2025 · 1 comment

Comments

@Canop
Copy link
Owner

Canop commented Jan 17, 2025

Sometimes, you want to have an interactive session in which you see and check items but "fix" only some of them.

An example and use case would be clippy in pedantic mode: most items are irrelevant but you'd like, from time to time, to see them because there might be useful tips inside.
For non cargo based ecosystems, this would often apply to warnings.

What I think would be basically needed:

  • dismiss the top item
  • dismiss a specific item (by number or click, maybe)
  • dismiss all items of the same kind than the top one
  • dismiss all items of the same kind than a chosen one
  • clear the set of dismissed items (start & end of session

Dismissed items would be hidden in bacon and not present in exports.

Most of those functions could probably be based on simple internals but this might enforce the need for a way to call bacon actions remotely (eg from your IDE).

@c-git
Copy link
Contributor

c-git commented Jan 17, 2025

This is cool. I add ignores in my code right now to get this. Would be nice to be able to turn it off just in the bacon session.

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