serayuzgur / crates

crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
https://marketplace.visualstudio.com/items?itemName=serayuzgur.crates
MIT License
238 stars 36 forks source link

A list of empty suggestions, when requesting version completion #234

Open loganmzz opened 5 months ago

loganmzz commented 5 months ago

Describe the bug

I enter any crate name in dependency section:

[dependencies]
anyhow = ""

When requesting completion from inside "", I get a list of empty (or star) versions:

image

To Reproduce

  1. Create a new create: create init --lib --name 'demo'
  2. Open Cargo.toml
  3. Add a new dependency crate with an empty version.
  4. Request version completion

Expected behavior

A list of available versions of the crate.

Screenshots

image

Desktop (please complete the following information):

Additional context

TBD