ejensen/Kindling — pull request #23 by kassio (2012-08-08 22:45:55+00:00)
Title: Add option to expand abbreviations

Add option to expand abbreviations that starts with '@' or '//'.
When user press 'Tab', in message input, the Kindling will search for users with abbreviations and expand to user name.

Example:

Given the input: '@kb'
And exists user 'Kassio Borges'
When user press 'Tab'
Then Kindling will change input to: 'Kassio Borges'.

If has many abbreviations Kindling will expand all.

Example

Given the input: '@kb and @s'
And exists users: 'Kassio Borges' and 'skynet'
When user press 'Tab'
Then Kindling will change input to: 'Kassio Borges and skynet'

I'm using the same idea that Campfire use to show tooltip whan message start with an abbreviation.