Closed stevenguh closed 4 years ago
Heh, I decided that because I can't find what the built-in matcher has decided to be the best match, this couldn't be implemented nicely, but thinking back on it I'm not the least bit sure this implementation isn't a perfectly acceptable substitute.
Yes, please, could you put everything, including the proposed feature, into a single PR? It makes it easier to review it and tweak it if necessary.
Updated this PR with all of the changes including bugfix and the tabbing directing into directory if there's only one match.
All the changes:
A sidenote: Is there any reason why the input box is not a full url like helm?
This works magnificently. Merging, thx!
As to the question of why the input box isn't showing the full path, it's because that would mean showing the full path for every item too, given the way matching works, and that would be extremely noisy. The compromise was to show the path in the quick pick's title instead.
This is a basic implementation of tab completion. It was deliberate to not include the feature to tab into directory directly when there is only one match, because that would prevent people from using the autocomplete and with the
Ctrl+A
menu to open that folder.