ScottHamper / chatsuey

A collection of small chat enhancement addons for vanilla World of Warcraft (WoW 1.12)
The Unlicense
15 stars 5 forks source link

Player name auto-complete #9

Closed hedgefund closed 1 year ago

hedgefund commented 6 years ago

Is it possible to implement this feature in ChatSuey, so that you can hit tab to complete people's names in chat?

ScottHamper commented 1 year ago

Hey @hedgefund,

It's possible, but the implementation would be ugly. There's no way to query the server for what players exist, so the addon would have to maintain its own database of players. Anytime a player is met in game, whether in chat, party, raid, etc, they would need to be added to the database. Over time, the database size would grow as more players are added. That inevitably means the addon's RAM usage will slowly increase and performance will slowly decrease.

As a result, I've been avoiding implementing any feature that would require using a local database of player info. It's a similar situation for highlighting player names with their class color in chat.