Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: set up tab completion for positional arguments #7

Open
rnag opened this issue Apr 2, 2022 · 0 comments
Open

feature: set up tab completion for positional arguments #7

rnag opened this issue Apr 2, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rnag
Copy link
Owner

rnag commented Apr 2, 2022

Description

It would be nice to set up tab completion for the first positional argument after rx, similar to how it auto completes when you type cd to switch into a directory and press tab after entering a partial match, for example.

The rx command in this case should offer auto-completion suggestions based on the list of examples for the current Cargo project.

For example if there is a single example in a project called hello_world.rs, when I enter hello it should auto complete to hello_world. If there is more than one example that starts with the entered term, it should offer all possible examples that match the query.

@rnag rnag changed the title Set up tab completion for positional arguments set up tab completion for positional arguments Apr 2, 2022
@rnag rnag changed the title set up tab completion for positional arguments feature: set up tab completion for positional arguments Apr 2, 2022
@rnag rnag added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant