Skip to content

cargo run --{example,bin,bench,test} tab completion #8871

@pbrw

Description

@pbrw

Problem
If you want to run an example, you have to write it's full name in cargo run --example <example_name>. Name may be long and time is precious.

Solution
It would be great to have a tab completion implemented. We already have a list of possible targets displayed (#6505).

Notes
This was already mentioned here

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions