vscode setting.json
台式机
{
"code-runner.runInTerminal": true,
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: Google, IndentWidth: 4}",
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, IndentWidth: 4}",
"window.zoomLevel": 1,
"editor.fontFamily": "'Droid Sans Mono','Fira code', Consolas, 'Courier New', CamingoCode, monospace",
"editor.fontSize": 18,
"editor.largeFileOptimizations": false,
"files.autoGuessEncoding": true,
"editor.suggestSelection": "first",
"C_Cpp.errorSquiggles": "Enabled",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.home": "C:\\Program Files\\jdk-14.0.2",
"java.help.firstView": "gettingStarted",
"java.semanticHighlighting.enabled": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"python.languageServer": "Pylance",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Quiet Light",
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": false,
"editor.codeActionsOnSave": null
}
笔记本
{
"breadcrumbs.enabled": true,
"workbench.iconTheme": "vs-minimal",
"code-runner.saveFileBeforeRun": true,
"code-runner.runInTerminal": true,
"editor.renderWhitespace": "none",
"kite.showWelcomeNotificationOnStartup": false,
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, IndentWidth: 4}",
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: Google, IndentWidth: 4}",
"window.zoomLevel": 1,
"explorer.confirmDragAndDrop": false,
"workbench.colorTheme": "Quiet Light",
"editor.minimap.enabled": false,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"files.autoGuessEncoding": true,
"editor.fontFamily": "'Droid Sans Mono','Fira Code',Consolas, 'Courier New', monospace",
"[javascript]": {
"editor.defaultFormatter": "lonefy.vscode-JS-CSS-HTML-formatter"
},
"liveServer.settings.donotShowInfoMsg": true,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[sql]": {
"editor.defaultFormatter": "adpyke.vscode-sql-formatter"
},
"[markdown]": {
"editor.quickSuggestions": true
},
"workbench.editorAssociations": [],
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.languageServer": "Microsoft"
}
Linux 本
{
"window.zoomLevel": 2,
"files.autoGuessEncoding": true,
"code-runner.runInTerminal": true,
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: Google , IndentWidth : 4}",
"C_Cpp.clang_format_style": "{BasedOnStyle: Google , IndentWidth : 4}",
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python3 -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": "runhaskell",
"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"
},
"workbench.colorTheme": "Quiet Light",
"workbench.iconTheme": "vscode-icons",
"explorer.confirmDelete": false,
"workbench.statusBar.visible": true,
"editor.minimap.enabled": false,
"workbench.sideBar.location": "left",
"workbench.activityBar.visible": true,
"editor.renderControlCharacters": true,
"editor.codeActionsOnSave": null
}