"Dynamic" Autocompletion

The show-hint addon will automatically pick up the "hintWords" helper value (an array of strings), if you defined one, and use those, in the way you described, to provide filtered completions.