-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cli suggestions for --package
#15004
Comments
Huh, we don't have this in bash and in zsh, we have it stubbed out Lines 421 to 425 in fbca21b
We are working on replacing those completions with native completions, see https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#native-completions It appears the PR for |
I'm using fish, will it work for it? |
Fish provides their own completions for Cargo You might want to open an issue in their repo. atm our native completions also provide fish completions. Unsure how well they play with fish's own completions. As we stabilize the feature, we'll need to decide what shells we officially support. If we consider supporting fish, we'll then need to work with fish regarding our two different set of completions. Fish does complete things that Cargo likely won't, like |
I think it's good to survey the community and ask what shell they use |
@epage May I tackle this issue by proceeding with the previous PR? |
@nooma-42 you are welcome to. The main issue is how to deal with the different permutations of what kind of packages can be selected with what kind of package arguments can be asked for. |
Problem
cargo build --package
Tab doesn't complete anything. It would be very useful!Proposed Solution
I'd expect packages from my workspace to be suggested and if there's no match, then the dependencies.
Notes
No response
The text was updated successfully, but these errors were encountered: