Skip to content

feature: from use statement, add crate to cargo.toml #10904

Open
@gilescope

Description

@gilescope

use crate_x::Fred;

If we are in a workspace we probably have this crate ( or crate-x ) already imported somewhere in another Cargo.toml.

Would be pretty cool to alt-enter the use statement and say "yes please, try to add this crate to my cargo.toml" (if multiple versions are in use could default to the highest),

Would be great for keeping people in the flow...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions