⛔ DISCONTINUED! ⛔ Please consider using prettier's plugin-pug instead!
vscode-pug-formatter plugin for VS Code.
- Press
F1
and selectExtensions: Install Extensions
. - Search for and select
pug-formatter
.
See the extension installation guide for details.
- Press
Alt+Shift+F
to format the openning pug file or; - Right click and select "Format Document".
- Jade
- Pug
Fill Tab
-enum
(default
,yes
,no
), fill whether tab or space, defaultdefault
(current document default setting).Remove Div
-boolean
, whether removediv
tag, defaultfalse
.Tab Size
-number
, when 'fill_tab' isfalse
, fill 'tab_size' spaces, default4
.Separator Space
-boolean
,true
: The attribute separator is aspace
, else acomma
, default isspace
.Allow Empty Lines
- whether allow blank lines, defaulttrue
.
This software is released under the terms of the MIT license.