Support for multiple completion categories
Open
Nobody has claimed this yet.
A-Completions
enhancement
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
From JT on discord:
git checkout can checkout files, not just branches, so we should allow that too
Hence it might be useful for commands to be able to provide multiple completion categories, similar to in zsh-autocomplete:

Somewhat related to #357.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing the existing completion implementation and the related #357 discussion, then define how commands provide multiple completion categories and how category selection should work for git checkout files and branches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100