Skip to content

[html] provide (auto) rename of tags #47069

@Ahmed-Hussein-Karam

Description

@Ahmed-Hussein-Karam
  • VSCode Version: 1.21.1

Description:

In order to rename an HTML/XHTML/XML tag we have to modify tag start, then modify tag end.

Steps to Reproduce:

  1. Disable all visual studio code extensions
  2. Create element: <div>Hello</div>
  3. Modify tag start: <label>Hello</div>
  4. Modify tag end <label>Hello</label>

Suggestion:

I suggest that when tag start is modified, the corresponding tag end should be automatically modified and vice versa.

Benefits:

  1. Make it easier to avoid typos, especially in XHTML/XML when we modify a custom tag where auto-complete is not available
  2. Avoid scrolling to tag end when element content is very large

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhtmlHTML support issueson-testplan

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions