Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

New feature: CLI-like autocompleter #10

Open
guiled opened this issue Mar 9, 2014 · 6 comments
Open

New feature: CLI-like autocompleter #10

guiled opened this issue Mar 9, 2014 · 6 comments

Comments

@guiled
Copy link
Member

guiled commented Mar 9, 2014

Is it possible to provide a context to autocompleter in order to suggest word depending on current string.
An exemple of what I am talking about

git br
would suggest "branch"
exec br
would suggest "break"

Words would be suggested depending on the whole string


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Hywan Hywan self-assigned this Mar 9, 2014
@Hywan
Copy link
Member

Hywan commented Mar 9, 2014

Hello :-),

More than “contextual”, I think we have to classify autocompleters by domains they address. Is it for a CLI-like shell interface?

@guiled
Copy link
Member Author

guiled commented Mar 9, 2014

Yes it is!

@Hywan
Copy link
Member

Hywan commented Mar 10, 2014

I have renamed the issue :-).

@Hywan
Copy link
Member

Hywan commented Apr 6, 2014

First of all, such an autocompleter must (could?) not be aggregated. Should we create an “aggregable” interface to distinguish autocompleters? /cc @jubianchi

@jubianchi
Copy link
Member

@Hywan IMHO, you should not make such decision and let the developper using autocompleters decide wether his autocompleters should or should not be aggregated.

We can(t figure out every use cases so I would let all autocompleters be “aggregable” by default.

@vonglasow
Copy link
Member

+1 for this issue ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants