Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommykw/remove-this-tag
https://github.com/tommykw/remove-this-tag
vscode-extension
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tommykw/remove-this-tag
- Owner: tommykw
- License: mit
- Created: 2024-09-24T11:22:59.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-01T10:56:53.000Z (about 1 month ago)
- Last Synced: 2025-01-28T12:52:01.004Z (10 days ago)
- Topics: vscode-extension
- Language: TypeScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Remove This Tag
A Visual Studio Code extension that allows you to quickly remove HTML-like tags and their corresponding closing tags in HTML, JSX, TSX, and Vue files.
## Features
- Removes both opening and closing tags with a single action
- Supports multiple file types:
- HTML (.html, .htm)
- React JSX (.jsx)
- React TSX (.tsx)
- Vue (.vue)
- Works with nested tags
- Preserves content between tags
- Available through Quick Fix menu (lightbulb)## Usage
1. Place your cursor inside any tag you want to remove
2. Click the lightbulb icon or press `Ctrl+.` (`Cmd+.` on macOS)
3. Select "Remove this tag" from the menu## Examples
### HTML
```html
Hello World!
Hello World!
```### React (JSX/TSX)
```jsx
// Before
Click me// After removing Icon tag
Click me
```
### Vue
```vue
Hello Vue!
Hello Vue!
```
## Requirements
- Visual Studio Code version 1.96.0 or higher
## License
This extension is licensed under the [MIT License](LICENSE).