Open ihabunek opened 3 years ago
The close_tag command, when invoked after a self-closing tag, closes that tag instead of the previous open tag.
close_tag
<foo><bar />
Alt+.
The foo tag is closed, resulting in: <foo><bar /></foo>
foo
<foo><bar /></foo>
The bar tag is closed, resulting in: <foo><bar /></bar>
bar
<foo><bar /></bar>
It's also indicative that entering <foo><bar/></ and pressing Ctrl+Space to get completion provides both foo and bar.
<foo><bar/></
Ctrl+Space
Description
The
close_tag
command, when invoked after a self-closing tag, closes that tag instead of the previous open tag.Steps to reproduce
<foo><bar />
Alt+.
to execute theclose_tag
command.Expected behavior
The
foo
tag is closed, resulting in:<foo><bar /></foo>
Actual behavior
The
bar
tag is closed, resulting in:<foo><bar /></bar>
Environment