settings { "files.autoSave": "onFocusChange", // 失去焦点后自动保存 "editor.tabSize": 2, // 重新设定tabsize "editor.formatOnSave": true, // 每次保存自动格式化 // 每次保存的时候将代码按eslint格式进行修复 "editor.codeActionsOnSave": { "source.fixAll.eslint": true },