Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prasadbobby/vscode-auto-rename-tag
This is a vscode extension of auto rename a tag
https://github.com/prasadbobby/vscode-auto-rename-tag
typescript visual-studio-code vscode vscode-extension
Last synced: about 1 month ago
JSON representation
This is a vscode extension of auto rename a tag
- Host: GitHub
- URL: https://github.com/prasadbobby/vscode-auto-rename-tag
- Owner: prasadbobby
- License: gpl-3.0
- Created: 2020-10-22T10:09:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T23:36:20.000Z (about 4 years ago)
- Last Synced: 2023-03-04T18:02:33.107Z (almost 2 years ago)
- Topics: typescript, visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 1.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto Rename Tag
Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.
## Features
- When you rename one HTML/XML tag, automatically rename the paired HTML/XML tag
## Usages
![Usage](images/usage.gif)
## Configuration
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.```json
{
"auto-rename-tag.activationOnLanguage": ["html", "xml", "php", "javascript"]
}
```The setting should be set with language id defined in [VS Code](https://github.com/Microsoft/vscode/tree/master/extensions). Taking [javascript definition](https://github.com/Microsoft/vscode/blob/master/extensions/javascript/package.json) as an example, we need to use `javascript` for `.js` and `.es6`, use `javascriptreact` for `.jsx`. So, if you want to enable this extension on `.js` file, you need to add `javascript` in settings.json.
## Note
From 1.44, VS Code offers the built-in [Rename On Type](https://code.visualstudio.com/updates/v1_44#_synced-regions) 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 `auto-rename-tag.activationOnLanguage`
## Developer
P r a s d B o b by
Technology Keen | Web & Desktop Application Developer | Music Addict
Github |
LinkedIn |
[email protected]