Open IntelOrca opened 7 years ago
@IntelOrca The completion points are hardcoded in: https://github.com/tonerdo/readline/blob/6d247be638fb9b1005c0b002cfb0f3c2bebced41/src/ReadLine/KeyHandler.cs#L276, so the completion will start from the space
. The next release (coming out tomorrow) is gonna allow the developer specify their own completion points
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