|
@@ -0,0 +1,71 @@
|
|
|
+{
|
|
|
+ "workbench.activityBar.visible": false,
|
|
|
+ "editor.fontFamily": "'Fixedsys Excelsior 3.01',Consolas, 'Courier New', monospace",
|
|
|
+ "editor.fontSize": 16,
|
|
|
+ "terminal.integrated.fontFamily": "宋体",
|
|
|
+ "security.workspace.trust.untrustedFiles": "open",
|
|
|
+ "code-runner.clearPreviousOutput": true,
|
|
|
+ "editor.lineHeight": 1.1,
|
|
|
+ "git.ignoreMissingGitWarning": true,
|
|
|
+ "extensions.ignoreRecommendations": true,
|
|
|
+ "vscodeGoogleTranslate.preferredLanguage": "Chinese (Simplified)",
|
|
|
+ "C_Cpp.clang_format_fallbackStyle": "LLVM",
|
|
|
+ "code-runner.executorMap": {
|
|
|
+ "javascript": "node",
|
|
|
+ "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
|
|
|
+ "zig": "zig run",
|
|
|
+ "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": "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",
|
|
|
+ // VS Code 配置 CodeRunner 使用 MSVC编译器
|
|
|
+ // "cpp": "cd $dir && astyle --ascii $fileName && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib && $dir$fileNameWithoutExt",
|
|
|
+ // "c": "cd $dir && astyle --ascii $fileName && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib && $dir$fileNameWithoutExt"
|
|
|
+ "cpp": "cd $dir && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib && $dir$fileNameWithoutExt",
|
|
|
+ "c": "cd $dir && cl.exe /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib && $dir$fileNameWithoutExt"
|
|
|
+
|
|
|
+ }
|
|
|
+}
|