init6
This commit is contained in:
45
.vscode/extensions.json
vendored
Normal file
45
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"recommendations": [
|
||||
// Tailwind CSS 智能感知
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"austenc.tailwind-docs",
|
||||
|
||||
// Vue 开发必备 - Vue Official (新版 Volar)
|
||||
"vue.volar",
|
||||
"vue.vscode-typescript-vue-plugin",
|
||||
|
||||
// TypeScript 支持
|
||||
"ms-vscode.vscode-typescript-next",
|
||||
|
||||
// 代码检查和格式化
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
|
||||
// CSS 相关
|
||||
"stylelint.vscode-stylelint",
|
||||
"csshoek.vscode-css-peek",
|
||||
"ecmel.vscode-html-css",
|
||||
"zignd.html-css-class-completion",
|
||||
"syler.sass-indented",
|
||||
|
||||
// 实用工具
|
||||
"formulahendry.auto-rename-tag",
|
||||
"christian-kohler.path-intellisense",
|
||||
"wix.vscode-import-cost",
|
||||
"ms-vscode.vscode-json",
|
||||
"redhat.vscode-yaml",
|
||||
"eamodio.gitlens",
|
||||
"vscode-icons-team.vscode-icons",
|
||||
"CoenraadS.bracket-pair-colorizer-2",
|
||||
"naumovs.color-highlight",
|
||||
"johnpapa.vscode-peacock",
|
||||
"gruntfuggly.todo-tree",
|
||||
"christian-kohler.npm-intellisense",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"streetsidesoftware.code-spell-checker"
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"vscode.typescript-language-features",
|
||||
"ms-vscode.vscode-typescript-language-features"
|
||||
]
|
||||
}
|
||||
20
.vscode/launch.json
vendored
Normal file
20
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Nuxt App",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/app/node_modules/.bin/nuxt",
|
||||
"args": ["dev"],
|
||||
"cwd": "${workspaceFolder}/app",
|
||||
"runtimeArgs": ["--inspect"],
|
||||
"env": {
|
||||
"NODE_OPTIONS": "--inspect"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"restart": true,
|
||||
"protocol": "inspector"
|
||||
}
|
||||
]
|
||||
}
|
||||
227
.vscode/settings.json
vendored
Normal file
227
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,227 @@
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/Thumbs.db": true,
|
||||
"*.meta": true,
|
||||
".idea": true,
|
||||
".nuxt": true,
|
||||
"server/node_modules": true,
|
||||
"shared/node_modules": true,
|
||||
"shared/dist": true,
|
||||
"server/dist": true,
|
||||
"app/.nuxt": true,
|
||||
"app/.output": true
|
||||
},
|
||||
"explorerExclude.backup": {},
|
||||
|
||||
// 编辑器设置
|
||||
"editor.quickSuggestions": {
|
||||
"other": true,
|
||||
"comments": false,
|
||||
"strings": true
|
||||
},
|
||||
"editor.suggestOnTriggerCharacters": true,
|
||||
"editor.acceptSuggestionOnEnter": "on",
|
||||
"editor.snippetSuggestions": "inline",
|
||||
"editor.wordBasedSuggestions": "allDocuments",
|
||||
"editor.parameterHints.enabled": true,
|
||||
"editor.suggestSelection": "first",
|
||||
"editor.tabCompletion": "on",
|
||||
"editor.autoClosingBrackets": "always",
|
||||
"editor.suggest.insertMode": "replace",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit",
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
// 悬停提示设置
|
||||
"editor.hover.enabled": true,
|
||||
"editor.hover.sticky": true,
|
||||
"editor.hover.delay": 300,
|
||||
"editor.suggest.showStatusBar": true,
|
||||
"editor.suggest.preview": true,
|
||||
"editor.suggest.showKeywords": true,
|
||||
"editor.suggest.showSnippets": true,
|
||||
|
||||
// 文件关联
|
||||
"files.associations": {
|
||||
"*.css": "tailwindcss",
|
||||
"main.css": "tailwindcss"
|
||||
},
|
||||
|
||||
// Tailwind CSS IntelliSense 配置
|
||||
"tailwindCSS.includeLanguages": {
|
||||
"vue": "html",
|
||||
"javascript": "javascript",
|
||||
"typescript": "typescript",
|
||||
"vue-html": "html",
|
||||
"plaintext": "css",
|
||||
"markdown": "html"
|
||||
},
|
||||
"tailwindCSS.experimental.classRegex": [
|
||||
["class:\\s*?[\"'`]([^\"'`]*).*?[\"'`]", "[\"'`]([^\"'`]*)[\"'`]"],
|
||||
["className:\\s*?[\"'`]([^\"'`]*).*?[\"'`]", "[\"'`]([^\"'`]*)[\"'`]"],
|
||||
["\\bclass\\s*=\\s*[\"']([^\"']*)[\"']", "([^\"']*)"],
|
||||
["\\bclassName\\s*=\\s*[\"']([^\"']*)[\"']", "([^\"']*)"],
|
||||
["class=\"([^\"]*)\"", "([^\"]*)"],
|
||||
["class='([^']*)'", "([^']*)"],
|
||||
["class=`([^`]*)`", "([^`]*)"],
|
||||
["@apply\\s+([^;]*)", 1],
|
||||
["@layer utilities\\s*{[^}]*?\\.([^\\s{]+)", 1],
|
||||
["tw`([^`]*)`", 1],
|
||||
["tw=\"([^\"]*)\"", 1],
|
||||
["cva\\(([^\\)]*)\\)", 1],
|
||||
["cx\\(([^\\)]*)\\)", 1],
|
||||
["cn\\(([^\\)]*)\\)", 1]
|
||||
],
|
||||
"tailwindCSS.validate": true,
|
||||
"tailwindCSS.lint.cssConflict": "warning",
|
||||
"tailwindCSS.lint.invalidApply": "error",
|
||||
"tailwindCSS.lint.invalidConfigPath": "error",
|
||||
"tailwindCSS.lint.invalidScreen": "error",
|
||||
"tailwindCSS.lint.invalidTailwindDirective": "error",
|
||||
"tailwindCSS.lint.invalidVariant": "error",
|
||||
"tailwindCSS.lint.recommendedVariantOrder": "warning",
|
||||
"tailwindCSS.emmetCompletions": true,
|
||||
"tailwindCSS.suggestions": true,
|
||||
"tailwindCSS.hovers": true,
|
||||
"tailwindCSS.codeActions": true,
|
||||
"tailwindCSS.experimental.configFile": "./app/tailwind.config.js",
|
||||
"tailwindCSS.cssPath": "./app/assets/css/main.css",
|
||||
// Tailwind CSS 智能提示增强设置
|
||||
"tailwindCSS.experimental.classSorting": true,
|
||||
"tailwindCSS.colorDecorators": true,
|
||||
"tailwindCSS.showPixelEquivalents": true,
|
||||
"tailwindCSS.rootFontSize": 16,
|
||||
// 确保Tailwind CSS与CSS Peek兼容
|
||||
"tailwindCSS.experimental.classAttributes": ["class", "className", "ngClass"],
|
||||
|
||||
// CSS 相关设置
|
||||
"css.validate": true,
|
||||
"scss.validate": false,
|
||||
"less.validate": false,
|
||||
"css.completion.completePropertyWithSemicolon": true,
|
||||
"css.completion.triggerPropertyValueCompletion": true,
|
||||
"css.lint.unknownProperties": "warning",
|
||||
"css.lint.invalidNumber": "error",
|
||||
"css.lint.hexColorLength": "error",
|
||||
"css.lint.zeroUnits": "ignore",
|
||||
"css.lint.duplicateProperties": "warning",
|
||||
"css.lint.ieHack": "warning",
|
||||
"css.lint.argumentsInColorFunction": "error",
|
||||
"css.lint.unknownVendorSpecificProperties": "ignore",
|
||||
"css.lint.propertyIgnoredDueToDisplay": "warning",
|
||||
"css.lint.important": "warning",
|
||||
"css.lint.float": "warning",
|
||||
"css.lint.idSelector": "warning",
|
||||
"css.lint.universalSelector": "warning",
|
||||
"css.lint.boxModel": "ignore",
|
||||
"css.lint.vendorPrefix": "warning",
|
||||
"css.lint.compatibleVendorPrefixes": "warning",
|
||||
"css.lint.importStatement": "warning",
|
||||
"css.lint.fontFaceProperties": "warning",
|
||||
"css.lint.keyframeDeclarations": "warning",
|
||||
"css.lint.customPropertyWarnings": "warning",
|
||||
"css.lint.emptyRules": "warning",
|
||||
"css.lint.selectors": "warning",
|
||||
"css.lint.nesting": "warning",
|
||||
"css.lint.validProperties": [
|
||||
"composes",
|
||||
"container",
|
||||
"container-type",
|
||||
"container-name",
|
||||
"@apply",
|
||||
"@screen",
|
||||
"@layer",
|
||||
"@variants",
|
||||
"@responsive",
|
||||
"@tailwind"
|
||||
],
|
||||
|
||||
// CSS Peek 设置 - 启用CSS类悬停预览
|
||||
"cssPeek.enable": true,
|
||||
"cssPeek.enableGotoDefinition": true,
|
||||
"cssPeek.enableHover": true,
|
||||
"cssPeek.enableShowReferences": true,
|
||||
"cssPeek.enableShowReferencesInPeek": true,
|
||||
"cssPeek.enableShowDefinitionInPeek": true,
|
||||
"cssPeek.enableShowQuickInfo": true,
|
||||
"cssPeek.enableColors": true,
|
||||
"cssPeek.enableFiles": ["css", "scss", "less", "vue", "html"],
|
||||
|
||||
// HTML/CSS 类名智能提示
|
||||
"html-css-class-completion.includeGlobPattern": "**/*.{css,scss,vue,html}",
|
||||
"html-css-class-completion.enableEmmetCompletion": true,
|
||||
"html-css-class-completion.includeLanguages": {
|
||||
"vue": "html",
|
||||
"vue-html": "html"
|
||||
},
|
||||
|
||||
// Vue 相关设置
|
||||
"vetur.validation.style": false,
|
||||
"vetur.validation.template": false,
|
||||
|
||||
// Vue Official (新版 Volar) 配置
|
||||
"vue.server.hybridMode": true,
|
||||
"vue.inlayHints.missingProps": true,
|
||||
"vue.inlayHints.inlineHandlerLeading": true,
|
||||
"vue.inlayHints.optionsWrapper": true,
|
||||
"vue.inlayHints.vBindShorthand": true,
|
||||
"vue.complete.casing.tags": "kebab",
|
||||
"vue.complete.casing.props": "camel",
|
||||
|
||||
// Vue Official TypeScript 支持
|
||||
"vue.codeActions.enabled": true,
|
||||
"vue.complete.casing.tags": "kebab",
|
||||
"vue.complete.casing.props": "camel",
|
||||
"vue.suggest.enabled": true,
|
||||
"vue.suggest.includeSnippets": true,
|
||||
"vue.suggest.autoImportComponent": true,
|
||||
"vue.suggest.autoImportComponentNameCasing": "pascal",
|
||||
"vue.suggest.htmlDataSource": "html5",
|
||||
"vue.trace.server": "off",
|
||||
"vue.format.enabled": true,
|
||||
"vue.format.defaultFormatter.html": "none",
|
||||
"vue.format.defaultFormatter.css": "none",
|
||||
"vue.format.defaultFormatter.js": "none",
|
||||
"vue.format.defaultFormatter.ts": "none",
|
||||
|
||||
// Emmet 设置
|
||||
"emmet.includeLanguages": {
|
||||
"vue-html": "html",
|
||||
"vue": "html",
|
||||
"javascript": "javascriptreact",
|
||||
"typescript": "typescriptreact"
|
||||
},
|
||||
"emmet.triggerExpansionOnTab": true,
|
||||
"emmet.showAbbreviationSuggestions": true,
|
||||
"emmet.showExpandedAbbreviation": "always",
|
||||
|
||||
// TypeScript 设置
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
"typescript.suggest.autoImports": true,
|
||||
"typescript.suggest.completeFunctionCalls": true,
|
||||
"typescript.inlayHints.parameterNames.enabled": "all",
|
||||
"typescript.inlayHints.parameterTypes.enabled": true,
|
||||
"typescript.inlayHints.variableTypes.enabled": true,
|
||||
"typescript.preferences.includePackageJsonAutoImports": "on",
|
||||
"typescript.suggest.includeCompletionsWithSnippetText": true,
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
"typescript.preferences.includePackageJsonAutoImports": "on",
|
||||
"typescript.suggest.includeCompletionsWithSnippetText": true,
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
|
||||
// Nuxt 设置
|
||||
"nuxt.isNuxtApp": false,
|
||||
|
||||
// 默认使用Chrome打开链接
|
||||
"terminal.external.windowsExec": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
|
||||
"terminal.explorerKind": "external",
|
||||
"open-in-browser.default": "chrome",
|
||||
"svn.delete.ignoredRulesForDeletedFiles": [
|
||||
"server\\api\\CIMapi\\feishu-shanghai-cim-service.ts"
|
||||
]
|
||||
}
|
||||
119
.vscode/tailwind-workspace.code-workspace
vendored
Normal file
119
.vscode/tailwind-workspace.code-workspace
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"name": "Nuxt4Curd",
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"tailwindCSS.experimental.classRegex": [
|
||||
["class:\\s*?[\"'`]([^\"'`]*).*?[\"'`]", "[\"'`]([^\"'`]*)[\"'`]"],
|
||||
["className:\\s*?[\"'`]([^\"'`]*).*?[\"'`]", "[\"'`]([^\"'`]*)[\"'`]"],
|
||||
["\\bclass\\s*=\\s*[\"']([^\"']*)[\"']", "([^\"']*)"],
|
||||
["\\bclassName\\s*=\\s*[\"']([^\"']*)[\"']", "([^\"']*)"],
|
||||
["class=\"([^\"]*)\"", "([^\"]*)"],
|
||||
["class='([^']*)'", "([^']*)"],
|
||||
["class=`([^`]*)`", "([^`]*)"],
|
||||
["@apply\\s+([^;]*)", 1],
|
||||
["@layer utilities\\s*{[^}]*?\\.([^\\s{]+)", 1],
|
||||
["tw`([^`]*)`", 1],
|
||||
["tw=\"([^\"]*)\"", 1],
|
||||
["cva\\(([^\\)]*)\\)", 1],
|
||||
["cx\\(([^\\)]*)\\)", 1],
|
||||
["cn\\(([^\\)]*)\\)", 1]
|
||||
],
|
||||
"tailwindCSS.includeLanguages": {
|
||||
"vue": "html",
|
||||
"javascript": "javascript",
|
||||
"typescript": "typescript",
|
||||
"vue-html": "html",
|
||||
"plaintext": "css",
|
||||
"markdown": "html"
|
||||
},
|
||||
"tailwindCSS.experimental.configFile": "./app/tailwind.config.js",
|
||||
"tailwindCSS.cssPath": "./app/assets/css/main.css",
|
||||
"tailwindCSS.validate": true,
|
||||
"tailwindCSS.suggestions": true,
|
||||
"tailwindCSS.hovers": true,
|
||||
"tailwindCSS.codeActions": true,
|
||||
// Tailwind CSS 智能提示增强设置
|
||||
"tailwindCSS.experimental.classSorting": true,
|
||||
"tailwindCSS.colorDecorators": true,
|
||||
"tailwindCSS.showPixelEquivalents": true,
|
||||
"tailwindCSS.rootFontSize": 16,
|
||||
// 悬停提示设置
|
||||
"editor.hover.enabled": true,
|
||||
"editor.hover.sticky": true,
|
||||
"editor.hover.delay": 300,
|
||||
"editor.suggest.showStatusBar": true,
|
||||
"editor.suggest.preview": true,
|
||||
"editor.suggest.showKeywords": true,
|
||||
"editor.suggest.showSnippets": true,
|
||||
"css.validate": true,
|
||||
"css.completion.completePropertyWithSemicolon": true,
|
||||
"css.completion.triggerPropertyValueCompletion": true,
|
||||
// CSS Peek 设置 - 启用CSS类悬停预览
|
||||
"cssPeek.enable": true,
|
||||
"cssPeek.enableGotoDefinition": true,
|
||||
"cssPeek.enableHover": true,
|
||||
"cssPeek.enableShowReferences": true,
|
||||
"cssPeek.enableShowReferencesInPeek": true,
|
||||
"cssPeek.enableShowDefinitionInPeek": true,
|
||||
"cssPeek.enableShowQuickInfo": true,
|
||||
"cssPeek.enableColors": true,
|
||||
"cssPeek.enableFiles": ["css", "scss", "less", "vue", "html"],
|
||||
"emmet.includeLanguages": {
|
||||
"vue-html": "html",
|
||||
"vue": "html",
|
||||
"javascript": "javascriptreact",
|
||||
"typescript": "typescriptreact"
|
||||
},
|
||||
"files.associations": {
|
||||
"*.css": "tailwindcss",
|
||||
"main.css": "tailwindcss"
|
||||
},
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
"typescript.suggest.autoImports": true,
|
||||
"typescript.suggest.completeFunctionCalls": true,
|
||||
"typescript.inlayHints.parameterNames.enabled": "all",
|
||||
"typescript.inlayHints.parameterTypes.enabled": true,
|
||||
"typescript.inlayHints.variableTypes.enabled": true,
|
||||
"nuxt.isNuxtApp": true
|
||||
},
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"austenc.tailwind-docs",
|
||||
"Vue.volar",
|
||||
"Vue.vscode-typescript-vue-plugin",
|
||||
"ms-vscode.vscode-typescript-next",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"stylelint.vscode-stylelint",
|
||||
"csshoek.vscode-css-peek",
|
||||
"ecmel.vscode-html-css",
|
||||
"zignd.html-css-class-completion",
|
||||
"syler.sass-indented",
|
||||
"formulahendry.auto-rename-tag",
|
||||
"christian-kohler.path-intellisense",
|
||||
"wix.vscode-import-cost",
|
||||
"ms-vscode.vscode-json",
|
||||
"redhat.vscode-yaml",
|
||||
"eamodio.gitlens",
|
||||
"vscode-icons-team.vscode-icons",
|
||||
"CoenraadS.bracket-pair-colorizer-2",
|
||||
"naumovs.color-highlight",
|
||||
"johnpapa.vscode-peacock",
|
||||
"gruntfuggly.todo-tree",
|
||||
"christian-kohler.npm-intellisense",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"streetsidesoftware.code-spell-checker",
|
||||
"phoenisx.cssvar",
|
||||
"nuxt-framework.nuxt-ide-support"
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"vscode.typescript-language-features",
|
||||
"ms-vscode.vscode-typescript-language-features"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user