ColdFusion
ColdFusion copied to clipboard
Auto-suggest doesn't close properly
Entering <cfoutput> doesn't always close the autosuggest box. The > character should force the box to close. Instead, most of the time, it remains open with the first item highlighted (cfabort). Hitting a return will insert "cfabort" immediately after <cfoutput>
The behavior is that the auto-suggest seems to recognize that I'm typing <cfoutput>, and when the close bracket is entered, the box is repopulated with the entire tag library (with cfabort highlighted) as if I'm starting a new tag.
atomi's fix seems to have resolved the issue when closing CFML tags, but the problem remains when closing HTML tags.
For example, I type out <td>, then I type out < and the Coldfusion autocomplete popup opens. Then, I hit the / key and Sublime auto-closes as <td></td>, but the autocomplete window remains open, and when i hit the enter key, it insert "cfabort", as this is the first tag in the autocomplete window.
I don't know if there's any way to stop this behaviour in this cause, since the closing function wouldn't be supplied by the coldfusion plugin. Any hints would be appreciated. Thanks