From bafab9a7621a8eb8331b0fb757c2e2390c5f92fc Mon Sep 17 00:00:00 2001 From: chuzhixin <1204505056@qq.com> Date: Wed, 27 Jan 2021 09:47:12 +0800 Subject: [PATCH] update .vscode settings.json --- .gitignore | 2 +- .vscode/settings.json | 54 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 10e4946..ad6adba 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ public/video /src/styles/themes/green.scss /src/styles/themes/dark.scss /src/styles/themes/glory.scss -/.vscode + diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0c4b368 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,54 @@ +{ + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "editor.quickSuggestions": { + "strings": true + }, + "workbench.colorTheme": "One Monokai", + "editor.tabSize": 2, + "editor.detectIndentation": false, + "emmet.triggerExpansionOnTab": true, + "editor.formatOnSave": true, + "javascript.format.enable": true, + "git.enableSmartCommit": true, + "git.autofetch": true, + "git.confirmSync": false, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "liveServer.settings.donotShowInfoMsg": true, + "explorer.confirmDelete": false, + "javascript.updateImportsOnFileMove.enabled": "always", + "typescript.updateImportsOnFileMove.enabled": "always", + "files.exclude": { + "**/.idea": true + }, + "editor.codeActionsOnSave": { + "source.fixAll.stylelint": true, + "source.fixAll.eslint": true + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "editor.suggest.snippetsPreventQuickSuggestions": false, + "prettier.htmlWhitespaceSensitivity": "ignore", + "prettier.vueIndentScriptAndStyle": true, + "docthis.authorName": "chuzhixin 1204505056@qq.com", + "docthis.includeAuthorTag": true, + "docthis.includeDescriptionTag": true, + "docthis.enableHungarianNotationEvaluation": true, + "docthis.inferTypesFromNames": true, + "vetur.format.defaultFormatter.html": "prettier", + "files.autoSave": "onFocusChange", + "path-intellisense.mappings": { + "@": "${workspaceRoot}/src" + }, + "files.eol": "\n" +}