> I hate text editor plugins that automatically add closing delimiters
Glad I'm not the only one. The less an editor does automatically
to "help" me the better. I agree, a shortcut to close the last
opening syntax element would be nice, but for this to work
properly the editor needs to be aware of how all the syntax
elements interact, e.g. to differentiate between '<' used in a
logical comparison and the same symbol as start of an XML tag.
Or to correctly close an XML tag no matter if it has attributes.
I have a shortcut in Vim for three different kinds of brackets
but it's a bit janky. Still better than the automatic stuff the
typical IDE and modern editor does without asking, though.
Glad I'm not the only one. The less an editor does automatically to "help" me the better. I agree, a shortcut to close the last opening syntax element would be nice, but for this to work properly the editor needs to be aware of how all the syntax elements interact, e.g. to differentiate between '<' used in a logical comparison and the same symbol as start of an XML tag. Or to correctly close an XML tag no matter if it has attributes.
I have a shortcut in Vim for three different kinds of brackets but it's a bit janky. Still better than the automatic stuff the typical IDE and modern editor does without asking, though.