Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

[feat] Cargo.toml tab-completion enhancement #216

Open
loynoir opened this issue Oct 25, 2023 · 0 comments
Open

[feat] Cargo.toml tab-completion enhancement #216

loynoir opened this issue Oct 25, 2023 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Oct 25, 2023

Is your feature request related to a problem? Please describe.
Better manage Cargo.toml without human typing, just use tab-completion.

Describe the solution you'd like

[dependencies]
foobar = { version = "<Tab></Tab>" }

Currently, the version tab-completion candidate is

  1. ""

  2. "*"

Suggest

  1. search cargo for foobar versions

  2. Use these versions as tab-completion candidate

  3. If there are >=30 versions, and if consider harmful for UI performance, only show the latest of each major version.

[dependencies]
foobar = { version = "1.2.3", features = [<Tab></Tab>] }

Currently, the features element tab-completion candidate is

  • None

Suggest

  1. search cargo for [email protected] features

  2. Use these features as tab-completion candidate

Describe alternatives you've considered

Additional context

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant