Commit 9006cfb6 by Jaxon

chore(vscode): 更新编辑器设置以优化开发体验

1 parent 25615bee
......@@ -8,7 +8,6 @@
"glsx"
],
"workbench.tree.indent": 24,
"eslint.enable": false,
"explorer.compactFolders": false,
"scm.compactFolders": false,
"problems.decorations.enabled": false,
......@@ -22,12 +21,16 @@
"editor.formatOnSave": true,
"editor.autoIndent": "full",
"editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit"
"source.addMissingImports": "always",
"source.organizeImports": "always",
"source.fixAll.eslint": "always"
},
"[vue]": {},
"[javascript]": {},
"[javascriptreact]": {},
"i18n-ally.sourceLanguage": "zh-chs",
"javascript.suggest.autoImports": true
"editor.pasteAs.preferences": [
"text.updateImports.jsts",
"text"
],
"javascript.preferences.importModuleSpecifier": "non-relative", // 优先使用 @/ 别名路径
"javascript.suggest.autoImports": true, // 确保这个是 true
"vue.updateImportsOnFileMove.enabled": true,
"i18n-ally.sourceLanguage": "zh-chs"
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!