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

AutoCompletion does not complete the current work #31

Open
IntelOrca opened this issue Jul 31, 2017 · 1 comment
Open

AutoCompletion does not complete the current work #31

IntelOrca opened this issue Jul 31, 2017 · 1 comment
Labels

Comments

@IntelOrca
Copy link
Contributor

Currently auto complete removes your current word and starts a tab complete session from the beginning of the suggestion list. This should instead only rotate through the suggestions that begin with what has currently been typed.

E.g. if you return these suggestions:
return new [] { "show", "status", "blame", "checkout", "branch" };

and you type:
> git b<TAB>

it should only provide only the following auto completions:
> git blame
> git branch

@tonerdo tonerdo added the bug label Jul 31, 2017
@tonerdo
Copy link
Owner

tonerdo commented Oct 22, 2017

@IntelOrca The completion points are hardcoded in:

char[] anyOf = new char[] { ' ', '.', '/', '\\', ':' };
, so the completion will start from the space. The next release (coming out tomorrow) is gonna allow the developer specify their own completion points

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants