22 comments (22 comments)16 reactions (16 reactions)1 assignee (1 assignee)TypeScript39,847 forks (39,847 forks)batch import
bugeditor-synced-regionhelp wanted
Repository metrics
- Stars
- 184,936 stars (184,936 stars)
- PR merge metrics
- Avg merge 11h 43m (Avg merge 11h 43m)1,000 merged PRs in 30d (1,000 merged PRs in 30d)
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.87.2
- OS Version: macOS 14.3.1 (23D60)
Steps to Reproduce:
- set up the linked editing option as true
- crate an HTML tag with one or two attributes, like
<div class="main"></div>
- modify the name of the tag on the opening tag, you would find out that the closing tag is automatically deleted while not added automatically.

Contributor guide
- Research direction
- Investigate the linked editing feature in the VS Code source code. Look for the rename handler for HTML tags and trace the logic that updates the closing tag. Reproduce the issue and identify where the closing tag gets deleted incorrectly.
- Tech stack
- typescripthtml
- Domain
- frontenddeveloper experience
- Issue type
- Bug
- Prerequisites
- GitTypeScriptVSCode development setup