Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>pug (jade) formatterNew to Visual Studio Code? Get it now.
pug (jade) formatter

pug (jade) formatter

ducfilan

|
97,829 installs
| (2) | Free
A Pug/Jade formatter integrated with system formatter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-pug-formatter

vscode-pug-formatter plugin for VS Code.

Install

  • Press F1 and select Extensions: Install Extensions.
  • Search for and select pug-formatter.

See the extension installation guide for details.

Usage

  • Press Alt+Shift+F to format the openning pug file or;
  • Right click and select "Format Document".

Supported languages

  • Jade
  • Pug

Options

  • Fill Tab - enum (default, yes, no), fill whether tab or space, default default (current document default setting).
  • Remove Div - boolean, whether remove div tag, default false.
  • Tab Size - number, when 'fill_tab' is false, fill 'tab_size' spaces, default 4.
  • Separator Space - boolean, true: The attribute separator is a space, else a comma, default is space.
  • Allow Empty Lines - whether allow blank lines, default true.

License

This software is released under the terms of the MIT license.

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