Skip to content

Instantly share code, notes, and snippets.

@coder114514
Last active March 8, 2024 13:15
Show Gist options
  • Save coder114514/6f941aaa7e2f4706b7820ba28f656d4c to your computer and use it in GitHub Desktop.
Save coder114514/6f941aaa7e2f4706b7820ba28f656d4c to your computer and use it in GitHub Desktop.
vscode profile settings
// %APPDATA%\Code\User\settings.json
{
"settingsSync.ignoredSettings": [
"projectManager.git.baseFolders",
"C_Cpp.default.cppStandard",
"C_Cpp.default.cStandard",
],
"update.showReleaseNotes": false,
"telemetry.telemetryLevel": "off",
"editor.fontFamily": "Sarasa Mono SC",
"editor.renderWhitespace": "all",
"workbench.colorTheme": "Default Light Modern",
"workbench.startupEditor": "none",
"workbench.editor.openPositioning": "last",
"workbench.editor.empty.hint": "hidden",
"workbench.editorAssociations": {
"*.exe": "hexEditor.hexedit",
"*.bin": "hexEditor.hexedit",
},
"workbench.iconTheme": "material-icon-theme",
"security.workspace.trust.banner": "never",
"security.workspace.trust.enabled": false,
"terminal.integrated.enableMultiLinePasteWarning": "never",
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorBlinking": true,
"files.insertFinalNewline": true,
"files.autoSave": "afterDelay",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.compactFolders": false,
"git.ignoreMissingGitWarning": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"git.suggestSmartCommit": false,
"git.autofetch": true,
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, AllowShortIfStatementsOnASingleLine: true, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }",
"python.experiments.optInto": [],
"code-runner.saveFileBeforeRun": true,
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc \"$fileName\" -std=c99 -Wall -O2 -static-libgcc -Wl,--stack=128000000 -o \"$fileNameWithoutExt.exe\" && echo done compiling && start ConsolePauser \"$fileNameWithoutExt.exe\"",
"zig": "zig run",
"cpp": "cd $dir && g++ \"$fileName\" -std=c++17 -Wall -O2 -static-libgcc -Wl,--stack=128000000 -o \"$fileNameWithoutExt.exe\" && echo done compiling && start ConsolePauser \"$fileNameWithoutExt.exe\"",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "start ConsolePauser 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",
},
"code-runner.executorMapByFileExtension": {
".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt",
".vbs": "cscript //Nologo",
".scala": "scala",
".jl": "julia",
".cr": "crystal",
".ml": "ocaml",
".zig": "zig run",
".exs": "elixir",
".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
".rkt": "racket",
".scm": "csi -script",
".ahk": "autohotkey",
".au3": "autoit3",
".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
".kts": "kotlinc -script",
".dart": "dart",
".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
".hs": "runhaskell",
".nim": "nim compile --verbosity:0 --hints:off --run",
".csproj": "dotnet run --project",
".fsproj": "dotnet run --project",
".lisp": "sbcl --script",
".kit": "kitc --run",
".v": "v run",
".vsh": "v run",
".sass": "sass --style expanded",
".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
".ring": "ring",
".sml": "cd $dir && sml $fileName",
},
"projectManager.sortList": "Recent",
"cph.general.defaultLanguage": "cpp",
"cph.language.cpp.Args": "-static-libgcc -Wl,--stack=128000000 -std=c++14 -Wall -O2",
"cph.general.firstTime": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment