paste the code in the setting file
{
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
"editor.detectIndentation": true,
"vetur.format.defaultFormatter.js": "none",
"workbench.colorTheme": "Palenight Theme",
"window.zoomLevel": 2,
"editor.lineHeight": 30,
"editor.tabSize": 4,
"prettier.tabWidth": 4,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"wrap_attributes": "force-aligned"
}
}
in "editor.tabSize": 4,
"prettier.tabWidth": 4, I set 4 in both settings, but the page formatting code is still indented by 2 spaces, how to solve this problem?