1
0

settings.json 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "workbench.activityBar.visible": false,
  3. "editor.fontFamily": "'Fixedsys Excelsior 3.01',Consolas, 'Courier New', monospace",
  4. "editor.fontSize": 16,
  5. "terminal.integrated.fontFamily": "宋体",
  6. "security.workspace.trust.untrustedFiles": "open",
  7. "code-runner.clearPreviousOutput": true,
  8. "editor.lineHeight": 1.1,
  9. "git.ignoreMissingGitWarning": true,
  10. "extensions.ignoreRecommendations": true,
  11. "vscodeGoogleTranslate.preferredLanguage": "Chinese (Simplified)",
  12. "C_Cpp.clang_format_fallbackStyle": "LLVM",
  13. "code-runner.executorMap": {
  14. "javascript": "node",
  15. "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
  16. "zig": "zig run",
  17. "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
  18. "php": "php",
  19. "python": "python -u",
  20. "perl": "perl",
  21. "perl6": "perl6",
  22. "ruby": "ruby",
  23. "go": "go run",
  24. "lua": "lua",
  25. "groovy": "groovy",
  26. "powershell": "powershell -ExecutionPolicy ByPass -File",
  27. "bat": "cmd /c",
  28. "shellscript": "bash",
  29. "fsharp": "fsi",
  30. "csharp": "scriptcs",
  31. "vbscript": "cscript //Nologo",
  32. "typescript": "ts-node",
  33. "coffeescript": "coffee",
  34. "scala": "scala",
  35. "swift": "swift",
  36. "julia": "julia",
  37. "crystal": "crystal",
  38. "ocaml": "ocaml",
  39. "r": "Rscript",
  40. "applescript": "osascript",
  41. "clojure": "lein exec",
  42. "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
  43. "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
  44. "racket": "racket",
  45. "scheme": "csi -script",
  46. "ahk": "autohotkey",
  47. "autoit": "autoit3",
  48. "dart": "dart",
  49. "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
  50. "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
  51. "haskell": "runghc",
  52. "nim": "nim compile --verbosity:0 --hints:off --run",
  53. "lisp": "sbcl --script",
  54. "kit": "kitc --run",
  55. "v": "v run",
  56. "sass": "sass --style expanded",
  57. "scss": "scss --style expanded",
  58. "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
  59. "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
  60. "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
  61. "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
  62. "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
  63. "sml": "cd $dir && sml $fileName",
  64. // VS Code 配置 CodeRunner 使用 MSVC编译器
  65. // "cpp": astyle --ascii $fileName 自动格式化
  66. "cpp": "cd $dir && cl.exe /utf-8 /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib user32.lib && $dir$fileNameWithoutExt",
  67. "c": "cd $dir && cl.exe /utf-8 /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib user32.lib && $dir$fileNameWithoutExt"
  68. }
  69. }