0

commit_completion

Benson Russell 11 year бұрын жаңартылды 11 year бұрын 1
So I'm writing a plugin that's trying to monitor when the user selects an option from the autocomplete popup list. The proper way I've found to do this is to monitor the commit_completion text command via the event listener class. The problem is commit_completion does not fire if the user selections an autocomplete option either via the mouse or tab key. It works fine when they press enter.
OK, so some more information.  If I have the auto_complete_commit_on_tab setting true, then it fires the commit_completion text command on tab completion.  When the setting is false, I can still use tab to finish a completion, but it will not fire the commit_completion command.