| | |
| | | { |
| | | "typescript.tsdk": "./node_modules/typescript/lib", |
| | | "typescript.enablePromptUseWorkspaceTsdk": true, |
| | | "volar.tsPlugin": true, |
| | | "volar.tsPluginStatus": false, |
| | | //=========================================== |
| | | //============= Editor ====================== |
| | | //=========================================== |
| | | "explorer.openEditors.visible": 0, |
| | | "npm.packageManager": "pnpm", |
| | | "editor.tabSize": 2, |
| | | "editor.defaultFormatter": "esbenp.prettier-vscode", |
| | | "diffEditor.ignoreTrimWhitespace": false, |
| | | //=========================================== |
| | | //============= Other ======================= |
| | | //=========================================== |
| | | "breadcrumbs.enabled": true, |
| | | "open-in-browser.default": "chrome", |
| | | //=========================================== |
| | | //============= files ======================= |
| | | //=========================================== |
| | | "files.eol": "\n", |
| | | "search.exclude": { |
| | | "**/node_modules": true, |
| | |
| | | "**/yarn.lock": true |
| | | }, |
| | | "stylelint.enable": true, |
| | | "stylelint.packageManager": "yarn", |
| | | "liveServer.settings.donotShowInfoMsg": true, |
| | | "telemetry.enableCrashReporter": false, |
| | | "workbench.settings.enableNaturalLanguageSearch": false, |
| | | "stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass"], |
| | | "path-intellisense.mappings": { |
| | | "/@/": "${workspaceRoot}/src" |
| | | "@/": "${workspaceRoot}/src" |
| | | }, |
| | | "prettier.requireConfig": true, |
| | | "typescript.updateImportsOnFileMove.enabled": "always", |
| | | "workbench.sideBar.location": "left", |
| | | "[javascriptreact]": { |
| | | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| | | }, |
| | |
| | | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| | | }, |
| | | "editor.codeActionsOnSave": { |
| | | "source.fixAll.eslint": true |
| | | "source.fixAll.eslint": "explicit", |
| | | "source.fixAll.stylelint": "explicit" |
| | | }, |
| | | "[vue]": { |
| | | "editor.codeActionsOnSave": { |
| | | "source.fixAll.eslint": false |
| | | } |
| | | "source.fixAll.eslint": "explicit", |
| | | "source.fixAll.stylelint": "explicit" |
| | | }, |
| | | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| | | }, |
| | | "i18n-ally.localesPaths": ["src/locales/lang"], |
| | | "i18n-ally.keystyle": "nested", |
| | | "i18n-ally.sortKeys": true, |
| | | "i18n-ally.namespace": true, |
| | | "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", |
| | | "i18n-ally.enabledParsers": ["ts"], |
| | | "i18n-ally.enabledParsers": ["json", "ts", "js"], |
| | | "i18n-ally.sourceLanguage": "en", |
| | | "i18n-ally.displayLanguage": "zh-CN", |
| | | "i18n-ally.enabledFrameworks": ["vue", "react"], |
| | | "cSpell.words": ["vben", "windi", "browserslist", "esnext"] |
| | | "cSpell.words": [ |
| | | "antd", |
| | | "antv", |
| | | "brotli", |
| | | "browserslist", |
| | | "codemirror", |
| | | "commitlint", |
| | | "cropperjs", |
| | | "echarts", |
| | | "esnext", |
| | | "esno", |
| | | "iconify", |
| | | "INTLIFY", |
| | | "lintstagedrc", |
| | | "logicflow", |
| | | "mockjs", |
| | | "nprogress", |
| | | "pinia", |
| | | "pnpm", |
| | | "qrcode", |
| | | "sider", |
| | | "sortablejs", |
| | | "stylelint", |
| | | "tailwindcss", |
| | | "tinymce", |
| | | "unocss", |
| | | "unref", |
| | | "vben", |
| | | "vditor", |
| | | "Vite", |
| | | "vitejs", |
| | | "vueuse", |
| | | "zxcvbn" |
| | | ], |
| | | "vetur.format.scriptInitialIndent": true, |
| | | "vetur.format.styleInitialIndent": true, |
| | | "vetur.validation.script": false, |
| | | "MicroPython.executeButton": [ |
| | | { |
| | | "text": "▶", |
| | | "tooltip": "运行", |
| | | "alignment": "left", |
| | | "command": "extension.executeFile", |
| | | "priority": 3.5 |
| | | } |
| | | ], |
| | | "MicroPython.syncButton": [ |
| | | { |
| | | "text": "$(sync)", |
| | | "tooltip": "同步", |
| | | "alignment": "left", |
| | | "command": "extension.execute", |
| | | "priority": 4 |
| | | } |
| | | ], |
| | | // 控制相关文件嵌套展示 |
| | | "explorer.fileNesting.enabled": true, |
| | | "explorer.fileNesting.expand": false, |
| | | "explorer.fileNesting.patterns": { |
| | | "*.ts": "$(capture).test.ts, $(capture).test.tsx", |
| | | "*.tsx": "$(capture).test.ts, $(capture).test.tsx", |
| | | "*.env": "$(capture).env.*", |
| | | "CHANGELOG.md": "CHANGELOG*", |
| | | "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc", |
| | | ".eslintrc.cjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,.stylelintrc.*" |
| | | }, |
| | | "terminal.integrated.scrollback": 10000, |
| | | "nuxt.isNuxtApp": false, |
| | | "vscodeCustomCodeColor.highlightValue": "v-auth", |
| | | "vscodeCustomCodeColor.highlightValueColor": "#6366f1" |
| | | } |