vue2 setting配置

Tsunami黄嵩粟發表於2024-10-09
{
"workbench.iconTheme": "vscode-icons",
"vsicons.dontShowNewVersionMessage": true,
"terminal.integrated.profiles.windows": {
"cmd": {
"path": "C:\\Windows\\System32\\cmd.exe",
"args": []
},
"Git Bash": {
"path": "D:\\down\\git\\Git\\bin\\bash.exe",
"args": []
}
},
"liveServer.settings.donotShowInfoMsg": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"eslint.codeAction.showDocumentation": {
"enable": true
},
"editor.codeActionsOnSave": {
"eslint.autoFixOnSave": "explicit",
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"vue",
"html",
"vue3",
"less",
"scss",
"json"
],
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"eslint.quiet": true,
"eslint.workingDirectories": [
".eslintrc.js",
{
"mode": "auto"
}
],
"eslint.options": {
"configFile": "D:/xdfProject/sail_new_question_bank/.eslintrc.js",
"extensions": [
"js",
"vue",
".jsx",
".tsx"
]
},
"eslint.format.enable": true,
"eslint.enable": true,
"eslint.run": "onType",
"eslint.lintTask.enable": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"less.compile": {
"compress": false,
"sourceMap": false,
"out": false
},
"[less]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[scss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"background.enabled": true,
"background.customImages": [
"file:///D:/down/images/3.png"
],
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "0",
"width": "100%",
"height": "100%",
"background-position": "center",
"background-repeat": "no-repeat",
"background-size": "100%,100%",
"opacity": 0.5
},
"editor.suggestSelection": "first",
"files.autoSave": "off",
"editor.suggest.shareSuggestSelections": false,
"files.associations": {
"*.json": "json",
"*.wxss": "css",
"*.wxs": "javascript",
"*.extension": "html",
".editorconfig": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"mssql.connections": [],
"git.autofetch": true,
"editor.detectIndentation": false,
"vetur.ignoreProjectWarning": true,
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_line_length": "auto",
"wrap_attributes": "auto",
"styleInitialIndent": true,
"scriptInitialIndent": true,
"styleLanguage": "css",
"options": {
"css": [
{
"name": "uppercase",
"description": "Uppercase all styles",
"runOnSave": false,
"enabled": false
}
]
}
}
},
"editor.tabSize": 2,
"vetur.validation.template": false,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.defaultProfile.windows": "cmd",
"open-in-browser.default": "Google Chrome",
"git.openRepositoryInParentFolders": "never",
"gitlens.advanced.messages": {
"suppressLineUncommittedWarning": true
},
"vite.autoStart": false,
"vite.host": "127.0.0.1",
"vite.port": 3000,
"i18n-ally.displayLanguage": "zh-cn",
"applets.format.defaultFormatter.ts": "prettier-tslint",
"code-runner.executorMap": {
"csharp": "cd $dir && dotnet run",
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"zig": "zig run",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runghc",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style expanded",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"sml": "cd $dir && sml $fileName",
"mojo": "mojo run",
"erlang": "escript",
"spwn": "spwn build",
"pkl": "cd $dir && pkl eval -f yaml $fileName -o $fileNameWithoutExt.yaml",
"gleam": "gleam run -m $fileNameWithoutExt"
}
}

相關文章