Skip to content

feat: Add custom completer for cargo <TAB> to cargo scripts#16697

Closed
dhruv-38 wants to merge 1 commit intorust-lang:masterfrom
dhruv-38:custom-completer-for-cargo-<TAB>-to-complete-cargo-scripts
Closed

feat: Add custom completer for cargo <TAB> to cargo scripts#16697
dhruv-38 wants to merge 1 commit intorust-lang:masterfrom
dhruv-38:custom-completer-for-cargo-<TAB>-to-complete-cargo-scripts

Conversation

@dhruv-38
Copy link
Contributor

@dhruv-38 dhruv-38 commented Mar 4, 2026

What does this PR try to resolve?

Tracking issue #14520
Add a custom completer for cargo <TAB> to cargo scripts

This PR introduces auto-completion for the cargo <TAB> option. When a user types cargo <TAB> and presses the TAB key, the system will also automatically suggest scripts defined in config.toml for the current working directory

How should we test and review this PR?

To verify this feature, follow these steps:
-In the terminal, type cargo <TAB>
-Press the TAB key.
-You should also see the scripts for the project.

@rustbot rustbot added A-cli Area: Command-line interface, option parsing, etc. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 4, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 4, 2026

r? @epage

rustbot has assigned @epage.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from ehuss, epage, weihanglo

@epage
Copy link
Contributor

epage commented Mar 4, 2026

This has nothing to do with Cargo Script completions.

On top of that, we shouldn't be offering Cargo Script completions until #16569 is merged.

@dhruv-38 dhruv-38 closed this Mar 4, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area: Command-line interface, option parsing, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants