VS Code Extensions
Format Selection As VUE

Format Selection As VUE

by frankwsb

Format the selected text within literal strings in VUE format.

Downloads

63

Rating

5.0 / 5 (3)

Version

0.0.8

Last updated

Apr 24, 2026

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

  1. Press Ctrl + Shift + P
  2. 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

Presentation

Related extensions