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

shell auto completions for project specific values #467

Open
martin-schulze-e2m opened this issue Jan 3, 2025 · 0 comments
Open

shell auto completions for project specific values #467

martin-schulze-e2m opened this issue Jan 3, 2025 · 0 comments
Labels
feature Feature requests/implementations
Milestone

Comments

@martin-schulze-e2m
Copy link

martin-schulze-e2m commented Jan 3, 2025

Issue Kind

Brand new capability

Description

The current completions allow for finding commands and their flags (e.g. poetry install --all-extras), but they don't help with project specific values like package or group names.

For example, poetry install --with should offer all known groups as completion or poetry update or poetry show should offer names of all packages in poetry.lock. I am sure there are more examples.

For comparison, take git checkout, which offers a list of all available branches as suggested completions.

Impact

Having this information not available requires context switches to find them. Typos and unexpected package names make the process harder than it needs to be. Cutting down the feedback time often has compounding effects.

Workarounds

The information is available in pyproject.toml/poetry.lock and through querying commands like poetry show.

@Secrus Secrus transferred this issue from python-poetry/poetry Jan 3, 2025
@Secrus Secrus added this to the Future milestone Jan 3, 2025
@Secrus Secrus added the feature Feature requests/implementations label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

2 participants