设置了缩进为2,但是换行时自动缩进还是4,格式化代码时alt+shift+f
缩进也是4,设置如下:
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.fontSize": 19,
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.formatOnType":true,
"editor.tabSize": 2,
"files.autoSave": "onFocusChange",
"git.ignoreMissingGitWarning": true,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"eslint.autoFixOnSave": true,
"editor.autoIndent": false,
}
请问要如何设置,才能让换行和格式化时缩进改为2?