Open
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VSCode Version: 1.99.3 (Universal)
- OS Version: Darwin x64 24.3.0
Steps to Reproduce:
- Go to the end of the name of an opening JSX/TSX tag
- Backspace to delete the name
- Type the new name
- The closing tag should also be updated but it remains blank
This is really annoying and I'm confused why I can't find any other issue reports about it. Maybe a lot of people select the tag name before typing over it, but that workaround is no good for Vim users (for whom it's most efficient to cw
at the start of the tag, which deletes it and goes into insert mode, and then type the new tag name).
VSCode could make this work even though the syntax temporarily becomes invalid when the tag name has been deleted; all it would take is remembering the opening/closing tag name positions when all characters in the tag name get deleted, and keeping that in memory until the next document edit.
vscode.closing.tag.mov
Metadata
Metadata
Assignees
Labels
No labels