Is there any way to list files in the current directory with double clicking TAB? #156
-
I have checked usage of auto-completion, but still stay confused how to customize it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @csy19960309 |
Beta Was this translation helpful? Give feedback.
Hi @csy19960309
currently, the library does not provide a way to customize autocompletion.
The autocompletion works only with commands and menus (i.e., just the command part of the line is autocompleted, not the parameters).
However, we can plan to add a new feature to the library: a new parameter type "file". When you provide a command with that parameter, the library should autocomplete the parameter with files on the current directory (bash style). The same with a parameter "directory".
In some way, this new feature will overlap a bit with issue #69.
I created a new issue anyway: #157