Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vbeautifyNew to Visual Studio Code? Get it now.
vbeautify

vbeautify

yinxianwei

|
8 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vbeautify

vbeautify is a Visual Studio Code extension that formats Vue files. It supports automatically adjusting the indentation and code formatting of Vue Single File Components (.vue files`), ensuring cleaner and more consistent code.

Features

  • Formats <template>, <script>, and <style> sections within .vue files.
  • Customizable formatting options, such as indentation size and choice of spaces or tabs.
  • Easily trigger formatting via the Command Palette or keyboard shortcuts.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view (click the Extensions icon on the left sidebar, or press Ctrl+Shift+X).
  3. Search for vbeautify and click Install.

Usage

  1. After installing the extension, open a .vue file.
  2. Use the Command Palette (Ctrl+Shift+P or Cmd+Shift+P), then search for and select Format Document to format the current file.
  3. You can also set up a keyboard shortcut to trigger the format command.

Contributing

Contributions are welcome! If you find any bugs or have feature suggestions, please feel free to open an issue or submit a pull request.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft