Vscode formatted indentation

use the vscode alt+shift+f format vue code to set the following
template when pug, is used, how can you set the indentation of pug to 4 spaces,

{
    "editor.fontSize": 12,
    "emmet.variables": {
        "lang": "zh-cn",
        "charset": "UTF-8"
    },
    "files.associations": {
        "*.wpy": "vue"
    },
    "workbench.startupEditor": "newUntitledFile",
    "todohighlight.isEnable": true,
    "todohighlight.include": [
        "**/*.js",
        "**/*.jsx",
        "**/*.ts",
        "**/*.tsx",
        "**/*.html",
        "**/*.php",
        "**/*.css",
        "**/*.scss",
        "**/*.wpy",
    ],
    "stylusSupremacy.insertColons": false,
    "stylusSupremacy.insertSemicolons": false,
    "stylusSupremacy.insertBraces": false,
    "stylusSupremacy.insertNewLineAroundImports": false,
    "stylusSupremacy.insertNewLineAroundBlocks": false,
    "editor.detectIndentation": false,
    "editor.tabSize": 4,
    "editor.formatOnSave": true,
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    
}

each formatted plug-in is different. You need to configure the formatting scheme for the plug-ins in each language.


you can try this plug-in EditorConfig for VS Code

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3182a-4d43b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3182a-4d43b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?