Format the selected text within literal strings in Vue format. Very useful for Vue applications that do not use build stages or SFC's.
ℹ️ IMPORTANT
Formatting only the opening of a tag may cause Prettier to automatically add a closing tag, resulting in duplicates.
Always select the entire tag (opening + closing), especially for parent elements.
Instruction
- Press
Ctrl + Shift + P - Type out the full name “FRANKWSB: Format Template String in Vue” or just the initials of the command name, then press
Enter.
And that's it!🫡
Presentation
