Auto Rename Tag
Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.
Eliminate context switching and costly distractions. Create and merge PRs and perform code reviews from inside your IDE while using jump-to-definition, your keybindings, and other IDE favorites.
Book for VS Code
《Visual Studio Code 权威指南》：带你深入浅出 VS Code！
Kudos to @SimonSiefke for rewriting the logic of this extension!
- When you rename one HTML/XML tag, automatically rename the paired HTML/XML tag
Add entry into
auto-rename-tag.activationOnLanguage to set the languages that the extension will be activated.
By default, it is
["*"] and will be activated for all languages.
.jsx. So, if you want to enable this extension on
.js file, you need to add
From 1.44, VS Code offers the built-in Rename On Type support for HTML and Handlebars that can be enabled with the setting
editor.renameOnType. If this setting is enabled, this extension will skip HTML and Handlebars files regardless of the languages listed in
See Change Log here
Submit the issues if you find any bug or have any suggestion.
Fork the repo and submit pull requests.