{
"locale": "zh-cn",
"files.associations": {
"*.js": "javascriptreact"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.format.enable": true,
"eslint.alwaysShowStatus": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue",
"typescript",
"typescriptreact"
],
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false
},
"editor.tabSize": 2,
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"VSCodeCounter.exclude": [
"**/.gitignore",
"**/.eslintignore",
"**/.eslintrc.js",
"**/.prettierrc",
"**/.umirc.js",
"**.md",
"**/.vscode/**",
"**/node_modules/**",
"package**.json",
"src/assets/**",
"**.lock",
"**/mock/**"
],
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Atom One Dark",
"editor.formatOnPaste": true,
"git.autofetch": true,
// "git.rebaseWhenSync": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.singleQuote": false,
"prettier.jsxSingleQuote": false,
"tslint.validateWithDefaultConfig": false,
"tslint.autoFixOnSave": true,
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
// "terminal.integrated.shell.windows": "D:\\Cmder\\Cmder.exe",
// "terminal.integrated.shell.windows": "cmd.exe",
// "terminal.integrated.env.windows": { "CMDER_ROOT": "D:\\Cmder" },
// "terminal.integrated.shellArgs.windows": [
// "/k",
// "D:\\Cmder\\vendor\\init.bat"
// ],
"files.eol": "\r\n",
"LineCount.excludes": [
"**/.umi/**",
"**/.vscode/**",
"**/node_modules/**",
"**/mock/**"
],
// "dart.flutterSdkPath": "D:\\flutter-1.24.0-6.0.pre",
"dart.flutterSdkPath": "D:\\flutter\\bin",
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"LineCount.output": {
"txt": true,
"json": true,
"csv": false,
"md": false,
"outdir": ".VSCodeCounter"
},
"search.followSymlinks": false,
"search.exclude": {
"**/.git/**": true,
"**/.svn": true,
"**/.umi": true
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"material-icon-theme.activeIconPack": "react",
"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.defaultLanguage": "javascript",
"tslint.alwaysShowStatus": true,
"tslint.alwaysShowRuleFailuresAsWarnings": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
分享vscode 配置文件
最新推荐文章于 2023-10-27 23:59:00 发布