Commit 9006cfb6 by Jaxon

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

1 parent 25615bee
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"glsx" "glsx"
], ],
"workbench.tree.indent": 24, "workbench.tree.indent": 24,
"eslint.enable": false,
"explorer.compactFolders": false, "explorer.compactFolders": false,
"scm.compactFolders": false, "scm.compactFolders": false,
"problems.decorations.enabled": false, "problems.decorations.enabled": false,
...@@ -22,12 +21,16 @@ ...@@ -22,12 +21,16 @@
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.autoIndent": "full", "editor.autoIndent": "full",
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit", "source.addMissingImports": "always",
"source.fixAll.eslint": "explicit" "source.organizeImports": "always",
"source.fixAll.eslint": "always"
}, },
"[vue]": {}, "editor.pasteAs.preferences": [
"[javascript]": {}, "text.updateImports.jsts",
"[javascriptreact]": {}, "text"
"i18n-ally.sourceLanguage": "zh-chs", ],
"javascript.suggest.autoImports": true "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 \ 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!