{
"workbench.iconTheme": "vscode-icons",
"editor.tabSize": 2,
"editor.mouseWheelZoom": true,
"editor.detectIndentation": false,
"extensions.autoCheckUpdates": false,
"emmet.optimizeStylesheetParsing": false,
"emmet.showSuggestionsAsSnippets": true,
"emmet.triggerExpansionOnTab": true,
"html.format.indentInnerHtml": true,
"material-icon-theme.activeIconPack": "vue",
"bracket-pair-colorizer-2.depreciation-notice": false,
//liveServer 是否弹窗
"liveServer.settings.donotShowInfoMsg": true,
// // 🎈 Prettier 🎈 的各种配置 [xxx] 是关于xxx类型文件的配置
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
//"editor.defaultFormatter": "vscode.typescript-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[tyepscript]": {
//"editor.defaultFormatter": "vscode.typescript-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.useTabs": true,
"prettier.vueIndentScriptAndStyle": true,
"prettier.quoteProps": "consistent",
"prettier.endOfLine": "auto",
"prettier.arrowParens": "avoid",
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.alwaysShowStatus": true,
// eslint配置 eslint 执行的时机
"eslint.run": "onSave",
"eslint.validate": ["vue", "javascript", "javascriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"files.eol": "\n",
"debug.console.fontSize": 18,
"workbench.startupEditor": "none",
"explorer.confirmDelete": false,
"workbench.editor.splitInGroupLayout": "vertical",
"editor.cursorWidth": 3,
"files.autoSaveDelay": 10,
"workbench.editor.enablePreview": false,
"editor.formatOnSave": true,
"editor.snippetSuggestions": "top",
"explorer.confirmDragAndDrop": false,
"debug.disassemblyView.showSourceCode": false,
"px2rem.rootFontSize": 100,
"editor.autoClosingBrackets": "always",
"editor.fontFamily": "'JetBrains Mono Light' ",
// 设置 => 效果
"editor.fontLigatures": true,
"workbench.colorTheme": "One Dark Pro Darker",
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"terminal.integrated.fontSize": 15,
"vsicons.dontShowNewVersionMessage": true,
"minapp-vscode.disableAutoConfig": true,
"json.schemaDownload.enable": false,
"editor.linkedEditing": true,
"security.workspace.trust.untrustedFiles": "open",
"javascript.validate.enable": false,
"tabnine.experimentalAutoImports": true,
"code-runner.languageIdToFileExtensionMap": {
"bat": ".bat",
"powershell": ".ps1",
"typescript": ".ts"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"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",
"csharp": "scriptcs",
"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": "runhaskell",
"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"
},
"code-runner.runInTerminal": true,
"terminal.integrated.shellIntegration.enabled": true,
"code-runner.clearPreviousOutput": true,
"editor.fontSize": 16,
"liveServer.settings.donotVerifyTags": true,
"vetur.validation.template": false,
"window.zoomLevel": -1,
"vetur.validation.script": false
}
vscode中的settjing.json配置
最新推荐文章于 2024-03-08 11:46:22 发布