
源码在下
{
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 80, AccessModifierOffset: -4 }",
"C_Cpp.default.intelliSenseMode": "windows-gcc-x64",
"[latex]": {
"editor.defaultFormatter": "James-Yu.latex-workshop",
"editor.wordWrap": "on"
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"code-runner.enableAppInsights": false,
"code-runner.executorMap": {
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"ahk": "autohotkey",
"applescript": "osascript",
"autoit": "autoit3",
"bat": "cmd /c",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"clojure": "lein exec",
"coffeescript": "coffee",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"crystal": "crystal",
"csharp": "scriptcs",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"dart": "dart",
"fortran": "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",
"fsharp": "fsi",
"go": "go run",
"groovy": "groovy",
"haskell": "runhaskell",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"javascript": "node",
"julia": "julia",
"kit": "kitc --run",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"lisp": "sbcl --script",
"lua": "lua",
"markdown": "start Typora $fullFileName", // 用外部应用(Typora)打开 Markdown 文件
"nim": "nim compile --verbosity:0 --hints:off --run",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"ocaml": "ocaml",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"perl": "perl",
"perl6": "perl6",
"php": "php",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"python": "python -u",
"r": "Rscript",
"racket": "racket",
"ruby": "ruby",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"sass": "sass --style expanded",
"scala": "scala",
"scheme": "csi -script",
"scss": "scss --style expanded",
"shellscript": "bash",
"swift": "swift",
"typescript": "ts-node",
"v": "v run",
"vbscript": "cscript //Nologo"
},
"code-runner.languageIdToFileExtensionMap": {
"bat": ".bat",
"powershell": ".ps1",
"typescript": ".ts"
},
"code-runner.runInTerminal": true,
"code-runner.saveFileBeforeRun": true,
"debug.console.fontSize": 16,
"editor.acceptSuggestionOnEnter": "off",
"editor.bracketPairColorization.enabled": true,
"editor.fontSize": 20,
"editor.guides.bracketPairs": "active",
"editor.inlineSuggest.enabled": true,
"editor.suggest.shareSuggestSelections": true,
"editor.suggestSelection": "recentlyUsed",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"extensions.autoUpdate": "onlyEnabledExtensions",
"extensions.ignoreRecommendations": true,
"files.autoGuessEncoding": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"github.copilot.enable": {
"*": true,
"cpp": true,
"latex": true,
"markdown": false,
"plaintext": false,
"yaml": false
},
"latex-workshop.latex.autoBuild.run": "never",
// "latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "pdflatex",
"tools": [
"pdflatex"
]
},
{
"name": "xe->xe",
"tools": [
"xelatex",
"xelatex"
]
},
{
"name": "xe->bib->xe->xe",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdf->bib->pdf->pdf",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
"latex-workshop.latex.tools": [
{
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
],
"command": "xelatex",
"name": "xelatex"
},
{
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
],
"command": "pdflatex",
"name": "pdflatex"
},
{
"args": [
"%DOCFILE%"
],
"command": "bibtex",
"name": "bibtex"
}
],
"latex-workshop.message.error.show": false,
"latex-workshop.message.warning.show": false,
// VSCode 1.62 版本后,原来的配置的 SumatraPDF 反向搜索失效
// 新的反向搜索解决方案参考 https://zhuanlan.zhihu.com/p/434142338。
// 用VSCode内部或浏览器打开PDF,按 Ctrl + 鼠标左键 也可以反向搜索
"latex-workshop.view.pdf.external.synctex.args": [
"-forward-search",
"%TEX%",
"%LINE%",
// "-reuse-instance",
// "-inverse-search",
// "\"C:/Program Files/Microsoft VS Code/Code.exe\" \"C:/Program Files/Microsoft VS Code/resources/app/out/cli.js\" -gr \"%f\":\"%l\"",
// "\"C:/Program Files/Microsoft VS Code/Code.exe\" -gr \"%f\":\"%l\"",
// "code \"C:/Program Files/Microsoft VS Code/resources/app/out/cli.js\" -gr \"%f\":\"%l\"",
"%PDF%"
],
"latex-workshop.view.pdf.external.synctex.command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
"latex-workshop.view.pdf.external.viewer.args": [
// "-forward-search",
// "%TEX%",
// "%LINE%",
// "-reuse-instance",
// "-inverse-search",
// "\"C:/Program Files/Microsoft VS Code/Code.exe\" \"C:/Program Files/Microsoft VS Code/resources/app/out/cli.js\" -gr \"%f\":\"%l\"",
// "\"C:/Program Files/Microsoft VS Code/Code.exe\" -gr \"%f\":\"%l\"",
"%PDF%"
],
"latex-workshop.view.pdf.external.viewer.command": "C:/Program Files/SumatraPDF/SumatraPDF.exe",
"latex-workshop.view.pdf.viewer": "browser",
"markdownlint.config": {
"MD004": false,
"MD024": false,
"MD033": false,
"MD034": false,
"MD038": false,
"MD042": false
},
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"security.workspace.trust.enabled": false,
"security.workspace.trust.untrustedFiles": "open",
"settingsSync.ignoredSettings": [
"-workbench.welcomePage.experimental.videoTutorials",
"-workbench.welcomePage.walkthroughs.openOnInstall"
],
"telemetry.telemetryLevel": "off",
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.enablePersistentSessions": true,
"terminal.integrated.fontSize": 16,
"terminal.integrated.profiles.windows": {
"Bash": {
"args": [
"--login",
"-i"
],
"icon": "terminal-bash",
"path": [
"C:\\Program Files\\Git\\bin\\bash.exe"
]
}
},
"update.enableWindowsBackgroundUpdates": false,
"update.mode": "start",
"update.showReleaseNotes": false,
"vsicons.dontShowNewVersionMessage": true,
"vsintellicode.modify.editor.suggestSelection": "disabled",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook",
"*.md": "default",
// "*.pdf": "default",
"*.png": "imagePreview.previewEditor"
},
"workbench.enableExperiments": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
"workbench.tree.indent": 20,
"luogu.defaultLanguage": "C++20",
"debug.onTaskErrors": "debugAnyway",
"cph.general.timeOut": 1000,
"editor.defaultFormatter": "ms-vscode.cpptools",
"hediet.vscode-drawio.resizeImages": null,
"background.customImages": [
"file:///C:/VSCode/VSCode-win32-x64-1.74.2/100.jpg",
]
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "100% 90%",
"background-repeat": "no-repeat",
"background-size": "34%,34%",//小屏
// "background-size": "100%",//大屏
"opacity": 0
},
}