Chronoes / auto-xdcc

Automated downloader using XDCC in Hexchat
MIT License
7 stars 2 forks source link

[Needs to be tested] Initial Keyword tab-completion #42

Open Totto16 opened 2 years ago

Totto16 commented 2 years ago

Hi, I finally implemented the Keyword tab completion as described in the issue https://github.com/Chronoes/auto-xdcc/issues/28 . It can handle everything, but the final things, it per example can't autocomplete the shows, but some bots, since it uses the internal argument handler, it virtually invokes commands, and then parses the output to generate suggestions, you can use tab to get them, shift tab to cycle through them when you have "something argument1" or get the first one when you have "something". It is tested for most of the commands but some edge cases might not be covered in the right way.

So please test it and give me feedback, also for the formatting of the final output, hexchat formats suggestions in UPPERCASE, therefore I also did, but that easily changeable :)

oosran commented 9 months ago

Reminder to myself that I should take a look at this very long overdue PR when I get some time for it. And should take a look at the conflict as well.