119 lines
4.0 KiB
Plaintext
119 lines
4.0 KiB
Plaintext
{
|
|
"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"
|
|
]
|
|
}
|
|
} |