Autocomplete nickname when colon is attached to prefix
Bug, feature, or question?
feature
Current behavior
nic:
results in
nic:
Desired behavior
would be dope if it did autocomplete like BitchX
nickname:
why not pressing [TAB] instead of colon? nic[tab] should autocomplete to nickname:
BitchX does both, Tab for autocomplete as well as :
I personally just made the change from BitchX to weechat today, im sure others will appreciate this feature as well =]
What does BitchX do when there are multiple nicks? eg: nic1 , nic2 , nic3 and you do nic:
complete with last spoken?
IMO this could be also done with a script as well
[11:17AM]
It appears BitchX doesn't do anything when there are multiple nicknames behind the colon
@jeffreyroberts I think @weechatter means what if you do "nic:" and you have "niceguy", "nicotine", "nicknacks" and "nickelback" in the channel. I don't know about BitchX, but X-Chat when using tab completes the first name alphabetically, and hitting tab again will cycle through the list of nicks with the prefix you had entered.
I also think autocompletion for nicknames is a very useful feature. I might look into it myself
Should autocompletion work everywhere in the input message, or just when you are starting to type the message, and not somewhere in the middle?
there are a couple of options for completion, like a "inline" completion, see /fset weechat.completion
I have found several vars that control nick completion.
weechat.completion.nick_completer
weechat.completion.nick_first_only
weechat.completion.nick_ignore_chars
Does this mean that nick completion feature is already implemented?
@jjdredd: Yes, WeeChat has nick completion. What this issue is asking for is being able to complete a nick after typing a partial nick and :. If you don't type the : it works fine.
Oh, my bad. So I guess this:
@jeffreyroberts I think @weechatter means what if you do "nic:" and you have "niceguy", "nicotine", "nicknacks" and "nickelback" in the channel. I don't know about BitchX, but X-Chat when using tab completes the first name alphabetically, and hitting tab again will cycle through the list of nicks with the prefix you had entered.
is the desired behavior?
@jjdredd : nick completion is part of core and implemented since begin of time :-D
jeffreyroberts asked for a function when you "nic:" (double point instead of TAB) for autocomplete. For me, a bit pointless, because you have TAB and it will autocomplete nick and add a char behind the nick (weechat.completion.nick_completer).
Therefore i asked what happen when you "nic:" and the nicklist has different matches like "niclas", "nicolaus", nice". in weechat you can cycle through the nicks.