{ // ─── Editor ─── "editor.formatOnSave": true, "editor.formatOnPaste": false, "editor.codeActionsOnSave": { "source.organizeImports": "explicit", "source.fixAll": "explicit" }, "editor.rulers": [ 100 ], "editor.tabSize": 4, "editor.insertSpaces": true, "editor.bracketPairColorization.enabled": true, "editor.guides.bracketPairs": "active", "editor.wordWrapColumn": 100, "editor.renderWhitespace": "trailing", "editor.trimAutoWhitespace": true, // ─── Files ─── "files.trimTrailingWhitespace": true, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.exclude": { "**/__pycache__": true, "**/.pytest_cache": true, "**/*.pyc": true, "**/.mypy_cache": true, "**/.ruff_cache": true, "**/benchmarker.db": true }, // ─── Python ─── "[python]": { "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": "explicit", "source.organizeImports": "explicit" }, "editor.tabSize": 4 }, "python.analysis.typeCheckingMode": "basic", "python.analysis.autoImportCompletions": true, "python.analysis.inlayHints.functionReturnTypes": true, "python.analysis.inlayHints.variableTypes": false, // ─── JSON ─── "[json]": { "editor.defaultFormatter": "vscode.json-language-features", "editor.tabSize": 2 }, "[jsonc]": { "editor.defaultFormatter": "vscode.json-language-features", "editor.tabSize": 2 }, // ─── Markdown ─── "[markdown]": { "editor.wordWrap": "on", "editor.quickSuggestions": { "comments": "off", "strings": "off", "other": "off" } }, // ─── TOML / YAML / ENV ─── "[toml]": { "editor.tabSize": 2 }, "[yaml]": { "editor.tabSize": 2 }, "[dotenv]": { "editor.codeActionsOnSave": { "source.fixAll": "never" } }, // ─── Testing ─── "python.testing.pytestEnabled": true, "python.testing.pytestArgs": [ "tests" ], "python.testing.unittestEnabled": false, // ─── Search ─── "search.exclude": { "**/__pycache__": true, "**/.pytest_cache": true, "**/.mypy_cache": true, "**/.ruff_cache": true, "**/benchmarker.db": true, "**/.venv": true }, // ─── Terminal ─── "terminal.integrated.env.windows": { "PYTHONDONTWRITEBYTECODE": "1" }, "terminal.integrated.env.linux": { "PYTHONDONTWRITEBYTECODE": "1" }, "terminal.integrated.env.osx": { "PYTHONDONTWRITEBYTECODE": "1" } }