Run the command named Html to Pug or Pug to Html to transform.
Format Pug
Open a pug/jade/vue file.
Press Ctrl + Shift + P
Enter Format Pug
Autocomplete
Vue Events
Code Snippets
v-for
v-if
Create Elements
Supported settings
vscode-vue-pug-enhanced.useTab
Type: Boolean
Default: false
Description: Indent with Tabs, if false, with spaces.
vscode-vue-pug-enhanced.tabSize
Type: Number
Default: 2
Description: The number of spaces to indent generated files with. Default is 2 spaces. When `fillTab` is false, fill `tabSize` spaces.
vscode-vue-pug-enhanced.doubleQuotes
Type: Boolean
Default: true
Description: Use double quotes for attributes.
vscode-vue-pug-enhanced.omitDiv
Type: Boolean
Default: false
Description: Omit div tag when it has id or class.