as an added bonus, if the comment is being inserted right after a closing tag, the program could check to see where the opening tag is and if it has an id, offer that as autocomplete.
so if I had this:
Code: Select all
<div id="foo">
some content
</div> <!--
hopefully at least the first part isn't too much work/overhead.
Thanks,
will