Skip to content

Instantly share code, notes, and snippets.

@qexat
Last active July 31, 2024 16:22
Show Gist options
  • Save qexat/a879f28b4ef7fb99ab19f8309889fab3 to your computer and use it in GitHub Desktop.
Save qexat/a879f28b4ef7fb99ab19f8309889fab3 to your computer and use it in GitHub Desktop.
laptop vs code settings (needs cleanup)
{
/* GLOBAL VS CODE SETTINGS */
"diffEditor.hideUnchangedRegions.enabled": true,
"diffEditor.experimental.showMoves": true,
"editor.bracketPairColorization.enabled": true,
"editor.cursorBlinking": "phase",
"editor.cursorSmoothCaretAnimation": "on",
"editor.fontFamily": "'GeistMono Nerd Font Propo', 'Lilex','JetBrainsMono Nerd Font', 'JetBrains Mono', 'monospace', monospace",
"editor.fontLigatures": "'zero', 'ss01', 'cv11'",
"editor.fontSize": 14,
"editor.formatOnSave": true,
"editor.fontWeight": "450",
"editor.indentSize": "tabSize",
"editor.largeFileOptimizations": false,
"editor.lineNumbers": "on",
"editor.linkedEditing": true,
"editor.minimap.enabled": false,
"editor.tabCompletion": "on",
"editor.suggestSelection": "first",
"editor.stickyScroll.enabled": true,
"editor.stickyTabStops": true,
"editor.tabSize": 4,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorStyleInactive": "none",
"terminal.integrated.shellIntegration.enabled": false,
"window.titleBarStyle": "custom",
"window.zoomLevel": 1,
"workbench.colorTheme": "Rosalie",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
/* GIT SETTINGS */
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.enableCommitSigning": true,
"git.ignoreRebaseWarning": true,
/* INTELLICODE */
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
/* CUSTOM SETTINGS FOR JAVA */
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
/* LANGUAGE SETTINGS */
"python.analysis.autoImportCompletions": true,
"python.analysis.diagnosticSeverityOverrides": {
"reportAssertAlwaysTrue": "warning",
"reportConstantRedefinition": "error",
"reportGeneralTypeIssues": "error",
"reportImportCycles": "error",
"reportInconsistentConstructor": "error",
"reportInvalidStringEscapeSequence": "error",
"reportMatchNotExhaustive": "warning",
"reportMissingImports": "error",
"reportMissingParameterType": "error",
"reportOptionalCall": "error",
"reportOptionalContextManager": "error",
"reportOptionalIterable": "error",
"reportOptionalMemberAccess": "error",
"reportOptionalSubscript": "error",
"reportPrivateUsage": "error",
"reportSelfClsParameterName": "warning",
"reportUnboundVariable": "error",
"reportUndefinedVariable": "error",
"reportUninitializedInstanceVariable": "error",
"reportUnknownArgumentType": "error",
"reportUnknownMemberType": "error",
"reportUnknownParameterType": "error",
"reportUnknownVariableType": "error",
"reportUnnecessaryComparison": "information",
"reportUnnecessaryContains": "information",
"reportUnnecessaryTypeIgnoreComment": "information",
"reportUntypedBaseClass": "error",
"reportUntypedClassDecorator": "error",
"reportUntypedFunctionDecorator": "error",
"reportUntypedNamedTuple": "error",
"reportUnusedCallResult": "information",
"reportUnusedFunction": "warning",
"reportUnusedClass": "warning",
"reportUnusedExpression": "error",
"reportUnusedImport": "warning",
"reportUnusedVariable": "error",
},
"python.analysis.exclude": [ /* to prevent unnecessary analysis of the stdlib */
".venv/**"
],
"python.analysis.typeCheckingMode": "strict",
/* LANGUAGE-SPECIFIC SETTINGS */
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
"[ocaml]": {
"editor.defaultFormatter": "ocamllabs.ocaml-platform"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnType": true,
},
"[swift]": {
"editor.autoClosingComments": "always",
"editor.tabSize": 2,
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
/* EXTENSIONS */
"codesnap.boxShadow": "rgba(0, 0, 0, 0.55) 0px 0px 0px",
"codesnap.containerPadding": "1em",
"codesnap.realLineNumbers": true,
"codesnap.showWindowControls": false,
"codesnap.showWindowTitle": true,
"codesnap.transparentBackground": true,
"githubPullRequests.createOnPublishBranch": "never",
"githubPullRequests.pullBranch": "never",
"liveServer.settings.donotShowInfoMsg": true,
"lldb.library": "/usr/lib/swift/lib/liblldb.so",
"lldb.launch.expressions": "native",
"notebook.lineNumbers": "on",
"python.REPL.enableREPLSmartSend": false,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.analysis.autoFormatStrings": true,
"python.missingPackage.severity": "Warning",
"python.testing.pytestEnabled": true,
"redhat.telemetry.enabled": false,
"ruff.format.preview": true,
"ruff.configurationPreference": "filesystemFirst",
"scm.repositories.sortOrder": "name",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment