From 36df745d0f1b2705f1f3fa995c8dc2f9176e1411 Mon Sep 17 00:00:00 2001 From: Ian Rettig Date: Tue, 18 Feb 2025 11:04:14 -0500 Subject: [PATCH] Add vscode settings. --- settings.json | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 settings.json diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..1cd628c --- /dev/null +++ b/settings.json @@ -0,0 +1,93 @@ +{ + "[python]": { + "editor.formatOnType": true, + "editor.codeActionsOnSave": { + "source.fixAll.ruff": "explicit", + "source.organizeImports.ruff": "explicit" + }, + "editor.defaultFormatter": "charliermarsh.ruff", + "editor.formatOnPaste": true, + "editor.formatOnSave": true, + "editor.formatOnSaveMode": "file", + "editor.rulers": [127] + }, + "workbench.iconTheme": "vscode-icons", + "git.confirmSync": false, + "git.autofetch": true, + "terminal.integrated.fontFamily": "MesloLGS NF", + "editor.formatOnSave": true, + "files.autoSave": "onWindowChange", + "eslint.format.enable": true, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "redhat.telemetry.enabled": false, + "vsicons.dontShowNewVersionMessage": true, + "typescript.updateImportsOnFileMove.enabled": "always", + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[yaml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "prettier.tabWidth": 2 + }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[css]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "prettier.bracketSameLine": true, + "formatFiles.runOrganizeImports": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + }, + "java.configuration.runtimes": [], + "editor.formatOnSaveMode": "modificationsIfAvailable", + "editor.formatOnPaste": true, + "terminal.integrated.defaultProfile.windows": "Ubuntu-22.04 (WSL)", + "prettier.tabWidth": 4, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "source.fixAll.ruff": true, + "source.organizeImports.ruff": true + }, + "python.analysis.autoImportCompletions": true, + "python.analysis.autoFormatStrings": true, + "python.analysis.completeFunctionParens": true, + "python.analysis.inlayHints.callArgumentNames": "all", + "python.analysis.inlayHints.functionReturnTypes": true, + "python.analysis.inlayHints.pytestParameters": true, + "python.analysis.inlayHints.variableTypes": true, + "python.analysis.typeCheckingMode": "basic", + "python.testing.pytestEnabled": true, + "gitlens.keymap": "none", + "remote.autoForwardPortsSource": "hybrid", + "window.zoomLevel": -1, + "files.insertFinalNewline": true, + "java.project.importOnFirstTimeStartup": "disabled", + "[markdown]": { + "editor.defaultFormatter": "DavidAnson.vscode-markdownlint", + "editor.rulers": [80], + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "editor.rulers": [120], + "http.proxyStrictSSL": false, + "security.allowedUNCHosts": ["wsl.localhost"], + "[java]": { + "editor.defaultFormatter": "redhat.java" + }, + "java.settings.url": "~/.vscode/settings.prefs", + "markdownlint.config": { + "MD013": true + }, + "powershell.powerShellAdditionalExePaths": { + "powershell": "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\"" + }, + "kotlin.languageServer.enabled": false, + "kotlin.debugAdapter.enabled": false +}