vscode-auto-close-tag
vscode-auto-close-tag copied to clipboard
Remove closing tag on close opening tag
If I close the opening tag the closing tag should be removed
Example:
<button></button>
Result:
<button/>></button>
Expected:
<button/>
Type >
, then remove </button>
? I am not quite understanding this behavior...
This has caught me out many times too. Basically what happens is, even if you delete </button>
and you are left with <button>
, adding the /
inside will result in <button />>
.
We are also facing this issue. When typing in "<", there will be "<|>" automatically. Then it would be "<input|>" when typing some content. But when user want to close it and type "/", it becomes "|>", which should be "|".