123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- {
- "tailwindCSS.experimental.configFile": "internal/tailwind-config/src/index.ts",
- // workbench
- "workbench.list.smoothScrolling": true,
- "workbench.startupEditor": "newUntitledFile",
- "workbench.tree.indent": 10,
- "workbench.editor.highlightModifiedTabs": true,
- "workbench.editor.closeOnFileDelete": true,
- "workbench.editor.limit.enabled": true,
- "workbench.editor.limit.perEditorGroup": true,
- "workbench.editor.limit.value": 5,
- // editor
- "editor.tabSize": 2,
- "editor.detectIndentation": false,
- "editor.cursorBlinking": "expand",
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- "editor.largeFileOptimizations": false,
- "editor.accessibilitySupport": "off",
- "editor.cursorSmoothCaretAnimation": "on",
- "editor.guides.bracketPairs": "active",
- "editor.inlineSuggest.enabled": true,
- "editor.suggestSelection": "recentlyUsedByPrefix",
- "editor.acceptSuggestionOnEnter": "smart",
- "editor.suggest.snippetsPreventQuickSuggestions": false,
- "editor.stickyScroll.enabled": true,
- "editor.hover.sticky": true,
- "editor.suggest.insertMode": "replace",
- "editor.bracketPairColorization.enabled": true,
- "editor.autoClosingBrackets": "beforeWhitespace",
- "editor.autoClosingDelete": "always",
- "editor.autoClosingOvertype": "always",
- "editor.autoClosingQuotes": "beforeWhitespace",
- "editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": "explicit",
- "source.fixAll.stylelint": "explicit",
- "source.organizeImports": "never"
- },
- // extensions
- "extensions.ignoreRecommendations": true,
- // terminal
- "terminal.integrated.cursorBlinking": true,
- "terminal.integrated.persistentSessionReviveProcess": "never",
- "terminal.integrated.tabs.enabled": true,
- "terminal.integrated.scrollback": 10000,
- "terminal.integrated.stickyScroll.enabled": true,
- // files
- "files.eol": "\n",
- "files.insertFinalNewline": true,
- "files.simpleDialog.enable": true,
- "files.associations": {
- "*.ejs": "html",
- "*.art": "html",
- "**/tsconfig.json": "jsonc",
- "*.json": "jsonc"
- },
- "files.exclude": {
- "**/.eslintcache": true,
- "**/bower_components": true,
- "**/.turbo": true,
- "**/.idea": true,
- "**/tmp": true,
- "**/.git": true,
- "**/.svn": true,
- "**/.hg": true,
- "**/CVS": true,
- "**/.stylelintcache": true,
- "**/.DS_Store": true,
- "**/vite.config.mts.*": true,
- "**/tea.yaml": true
- },
- "files.watcherExclude": {
- "**/.git/objects/**": true,
- "**/.git/subtree-cache/**": true,
- "**/.vscode/**": true,
- "**/node_modules/**": true,
- "**/tmp/**": true,
- "**/bower_components/**": true,
- "**/dist/**": true,
- "**/yarn.lock": true
- },
- // search
- "search.searchEditor.singleClickBehaviour": "peekDefinition",
- "search.followSymlinks": false,
- // 在使用搜索功能时,将这些文件夹/文件排除在外
- "search.exclude": {
- "**/node_modules": true,
- "**/*.log": true,
- "**/*.log*": true,
- "**/bower_components": true,
- "**/dist": true,
- "**/elehukouben": true,
- "**/.git": true,
- "**/.github": true,
- "**/.gitignore": true,
- "**/.svn": true,
- "**/.DS_Store": true,
- "**/.vitepress/cache": true,
- "**/.idea": true,
- "**/.vscode": false,
- "**/.yarn": true,
- "**/tmp": true,
- "*.xml": true,
- "out": true,
- "dist": true,
- "node_modules": true,
- "CHANGELOG.md": true,
- "**/pnpm-lock.yaml": true,
- "**/yarn.lock": true
- },
- "debug.onTaskErrors": "debugAnyway",
- "diffEditor.ignoreTrimWhitespace": false,
- "npm.packageManager": "pnpm",
- "css.validate": false,
- "less.validate": false,
- "scss.validate": false,
- // extension
- "emmet.showSuggestionsAsSnippets": true,
- "emmet.triggerExpansionOnTab": false,
- "errorLens.enabledDiagnosticLevels": ["warning", "error"],
- "errorLens.excludeBySource": ["cSpell", "Grammarly", "eslint"],
- "stylelint.enable": true,
- "stylelint.packageManager": "pnpm",
- "stylelint.validate": ["css", "less", "postcss", "scss", "vue"],
- "stylelint.snippet": ["css", "less", "postcss", "scss", "vue"],
- "typescript.inlayHints.enumMemberValues.enabled": true,
- "typescript.preferences.preferTypeOnlyAutoImports": true,
- "typescript.preferences.includePackageJsonAutoImports": "on",
- "eslint.validate": [
- "javascript",
- "typescript",
- "javascriptreact",
- "typescriptreact",
- "vue",
- "html",
- "markdown",
- "json",
- "jsonc",
- "json5"
- ],
- "tailwindCSS.experimental.classRegex": [
- ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
- ],
- "github.copilot.enable": {
- "*": true,
- "markdown": true,
- "plaintext": false,
- "yaml": false
- },
- "cssVariables.lookupFiles": ["packages/core/base/design/src/**/*.css"],
- "i18n-ally.localesPaths": [
- "packages/locales/src/langs",
- "apps/*/src/locales/langs"
- ],
- "i18n-ally.enabledParsers": ["json", "ts", "js", "yaml"],
- "i18n-ally.sourceLanguage": "en",
- "i18n-ally.displayLanguage": "zh-CN",
- "i18n-ally.enabledFrameworks": ["vue", "react"],
- // 控制相关文件嵌套展示
- "explorer.fileNesting.enabled": true,
- "explorer.fileNesting.expand": false,
- "explorer.fileNesting.patterns": {
- "*.ts": "$(capture).test.ts, $(capture).test.tsx, $(capture).spec.ts, $(capture).spec.tsx, $(capture).d.ts",
- "*.tsx": "$(capture).test.ts, $(capture).test.tsx, $(capture).spec.ts, $(capture).spec.tsx,$(capture).d.ts",
- "*.env": "$(capture).env.*",
- "README.md": "README*,CHANGELOG*,LICENSE,CNAME",
- "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,.gitattributes,.gitignore,.gitpod.yml,.npmrc,.browserslistrc,.node-version,.git*,.tazerc.json",
- "Dockerfile": "Dockerfile,.docker*,docker-entrypoint.sh,build-local-docker*",
- "eslint.config.mjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,stylelint.config.*,.lintstagedrc.mjs,.ls-lint*,cspell.json",
- "tailwind.config.mjs": "postcss.*"
- },
- "commentTranslate.hover.enabled": false,
- "i18n-ally.keystyle": "nested",
- "commentTranslate.multiLineMerge": true
- }
|