-
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 lifebugSomething isn't workingSomething isn't working
Description
From nushell/nushell#16860, we can tell that there's something to optimize.
Steps to reproduce
def completion [] {
['"first item"' '"second item"']
}
export def foo [c: string@completion] {
print $c
}
foo <tab>returns those 2 items with the common prefix"- Reedline updates the line text to
foo " - During menu redraw (maybe?), the completion results are updated to those for the new text
foo ", which is totally unnecessary in theory.
It could potentially be a dealbreaker for time costing external completer.
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 lifebugSomething isn't workingSomething isn't working