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

Autocompletions on binaries from Maven Central #1000

Merged
merged 2 commits into from Jan 30, 2020
Merged

Autocompletions on binaries from Maven Central #1000

merged 2 commits into from Jan 30, 2020

Conversation

@propensive
Copy link
Owner

@propensive propensive commented Jan 30, 2020

Fury will now tab-complete binaries from Maven Central. If you type,

fury binary add -b com.propensive:<tab>

then Fury will suggest contextual_, efflorescence_, magnolia_, magnolia-examples_ and mercator_ as partial completions. The next completion will offer a choice of suffices (e.g. magnolia_2.11:, magnolia_2.12:, magnolia_2.13:, and finally it will offer a choice of versions.

It still can't do prefix search on the group ID, so com.propen<tab> won't complete to com.propensive, unfortunately. I'm not sure if this is possible with the search.maven.org API we're using, and the only link I can find to the documentation is broken.

propensive added 2 commits Jan 30, 2020
This requires that the complete group name is provided, at least. After
that, tab-completion happens progressively.
@propensive propensive merged commit a5f4765 into master Jan 30, 2020
3 checks passed
3 checks passed
build (ubuntu-latest)
Details
build (macos-latest)
Details
clahub All contributors have signed the Contributor License Agreement.
Details
@propensive propensive deleted the issue/999 branch Jan 30, 2020
@propensive propensive restored the issue/999 branch Feb 3, 2020
@propensive propensive deleted the issue/999 branch May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant