Autocomplete: recognize when user removed a completion, and suggest other
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
For example, I type:
git push it autocompletes origin; forming: git push origin.
Done! Pushed to origin.
But then I input ⬆ and it is git push origin. Then I remove origin, but it still marks/suggests origin; suggestion:
In this case, display the next last used to autocomplete, in this case it autocompletes github, forming: git push github.
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
Reproduce the described sequence in reedline: complete git push with origin, navigate back, remove origin, and observe the remaining suggestion. Start by locating the autocomplete and history-suggestion entry points; done means removing a completion no longer preserves it as the active suggestion and the next last-used completion, such as github, is offered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100