Skip to content

crate name auto completion #115

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

Closed
KaitlynEthylia opened this issue May 5, 2024 · 1 comment
Closed

crate name auto completion #115

KaitlynEthylia opened this issue May 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@KaitlynEthylia
Copy link
Contributor

Forgive me if this is already a feature. but I didn't find it documented anywhere and didn't find any references in the source code, so I'm pretty sure it isn't.

It would be very cool if the plugin could (optionally) auto-complete the name of crates. It would be especially cool if the hint at the side of the completion could show the crates readme.

I'd be willing to work on this myself once I have a but more time, just proposing the idea for now.

I imagine it would send a lot of requests to crates.io so there'd probably have to be a couple configuration options to help limit this. first of all whether to use it at all, and second of all a minimum number of characters before it starts trying to auto-complete.
Probably also a third option to either show the entire crates readme or just the crates description, as the readme would require another request

@saecki
Copy link
Owner

saecki commented May 5, 2024

You are correct, currently there is no crate name completion. I'm not sure when I'll be working this. PR welcome as always :)

@saecki saecki closed this as completed May 12, 2024
@saecki saecki added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants