-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
A-CompletionsArea: Tab completion and inline hint completionsArea: Tab completion and inline hint completionsP-lowLow Priority: Implementation would be nice to have but does not severely impact quality of lifeLow Priority: Implementation would be nice to have but does not severely impact quality of lifeenhancementNew feature or requestNew feature or request
Description
Right now, with partial completions enabled, Reedline will automatically complete the common prefix of the completer's suggestions. But some completers might be using super-smart algorithms that Reedline doesn't understand, or they might need to add quotes around the partial completions.
So, completers should have the option to also return an optional partial completion with its generated suggestions. It would be a string and a span, and if the user hits TAB or whatever, the given span would be replaced with the given string.
References
None right now, I think Zsh allows this though.
Metadata
Metadata
Assignees
Labels
A-CompletionsArea: Tab completion and inline hint completionsArea: Tab completion and inline hint completionsP-lowLow Priority: Implementation would be nice to have but does not severely impact quality of lifeLow Priority: Implementation would be nice to have but does not severely impact quality of lifeenhancementNew feature or requestNew feature or request