feat: Add custom completer for cargo + to complete toolchain name by nooma-42 · Pull Request #15301 · rust-lang/cargo (original) (raw)
What does this PR try to resolve?
Related to #14520
This PR introduces auto-completion for the cargo +<TAB>
option. When a user types cargo +<TAB>
and presses the TAB key, the system will automatically suggest toolchain in current device
How should we test and review this PR?
To verify this feature, follow these steps:
- In the terminal, type
cargo +<TAB>
- Press the TAB key.
- You should see toolchain suggestions 2025-03-12.4.09.18.mov