Vue Template Fixer
This extension automatically fixes missing end tags and fixes minor syntax errors in your Vue.js templates.
Features
- Detects and fixes missing end tags.
- Removes unnecessary and extra closing tags
- Adjusts extra spacing inside curly braces
- Works on
.vue files.
- Can be triggered using
Cmd+M or Ctrl+M .
- Only operates within the template portion of a Vue file; it will not work if the main template closing tag is missing.
How to Use
- Open a
.vue file in the editor.
- Press
Ctrl+Shift+P (or Cmd+Shift+P on macOS) and run the Fix Vue Template End Tags command, or simply press Cmd+M (or Ctrl+M ) to activate it directly.
| |