betty icon indicating copy to clipboard operation
betty copied to clipboard

auto completion for first command

Open lpanebr opened this issue 10 years ago • 2 comments

Something for the future maybe.

Betty could have a way for Modules to register an array of entry commands. Or she could do it by herself just by analyzing command.match or the usage array of each Module.

She would then register those as auto-complete command line possibilities.

$ betty s #hit tab
show    size   shuflle
$ betty s

lpanebr avatar May 13 '14 19:05 lpanebr

That's killer feature number 2

commit 870f3f96e6cf46d8e1f5ede860d76ec640f94323 Date: Tue May 13 22:46:44 2014 +0200

Auto-complete
(proof of concept)

pannous avatar May 13 '14 20:05 pannous

This would become fairly easy to do if we implement the tokenizer in #74

brysgo avatar May 15 '14 03:05 brysgo