Skip to content

Conversation

@multiplex55
Copy link
Owner

Motivation

  • Allow listing todos with multiple tag tokens (for example todo list @testing @ui).
  • Keep backward compatibility with #-prefixed tags and existing ! negation semantics.
  • Ensure tag filtering composes sensibly with existing fuzzy text matching and priority sorting.

Description

  • Split the remainder of the todo list query into whitespace tokens, collecting tags prefixed with @ or # into requested_tags and other tokens into text_tokens.
  • Apply tag filtering first by retaining only entries whose TodoEntry.tags contain all requested tags (case-insensitive).
  • After tag filtering, apply existing fuzzy text filtering (with support for ! negation) against the joined text_tokens, and preserve priority sorting behavior.
  • Update src/help_window.rs to include an example todo list @testing @ui.

Testing

  • No automated tests were run.

Codex Task

@multiplex55 multiplex55 merged commit cdc581d into master Jan 8, 2026
1 check passed
@multiplex55 multiplex55 deleted the codex/update-todoplugin-for-multiple-tags-support branch January 8, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants