-
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
Cargo add/Cargo install + tab should list all available crates #13043
Comments
If you're confused, you should be. This is not a cargo feature, it's a fish feature! |
FYI there is no list of packages names for a registry at this time. Itd also help if complete reproduction steps were given including what shell and shell version. |
Not sure how it would work for cargo to get this built-in as shell completion, since it is a shell's stuff. |
Would that be hard to implement?
|
We don't provide completions for fish. Those are provided by the fish community. |
Okay. In order to speed this up for fish it would still be nice to download a list all packages. How hard would this be? I have no idea about how cargo works but it seems like a really simple database query! |
If you'd like fish's completions improved, please open an issue over there. If the fish maintainers want something from us, the request should come from them. If they do, we can then work with them on requirements to make sure a solution delivers what they can use, rather than us all speculating.. Note that this is beyond the capabilities of our first-party completion support. I suspect that fish is parsing human-focused output that is subject to change.
There is no database for us to query. The big issues are
Related
|
Problem
cargo add ser
+ tab takes a while. I think that it's doing a network request every time.Proposed Solution
Download a list of all crates.
Notes
I would like to try this if I could get some mentoring!
The text was updated successfully, but these errors were encountered: