settings.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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": "cd $dir && astyle --ascii $fileName && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib && $dir$fileNameWithoutExt",
  66. // "c": "cd $dir && astyle --ascii $fileName && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib && $dir$fileNameWithoutExt"
  67. "cpp": "cd $dir && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib && $dir$fileNameWithoutExt",
  68. "c": "cd $dir && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib && $dir$fileNameWithoutExt"
  69. }
  70. }