{ "folders": [ { "path": "D:/IIS/Orius/api" } ], "settings": { // === ⚙️ GERAL === "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": "explicit", "source.organizeImports": "explicit" }, "editor.formatOnPaste": false, "editor.formatOnType": false, "editor.minimap.enabled": false, "files.trimTrailingWhitespace": true, "files.autoSave": "onFocusChange", "telemetry.telemetryLevel": "off", "update.mode": "manual", "workbench.startupEditor": "none", "workbench.editor.enablePreview": false, // === ⚡ PERFORMANCE === "files.watcherExclude": { "**/__pycache__/**": true, "**/.mypy_cache/**": true, "**/.pytest_cache/**": true, "**/.venv/**": true, "**/venv/**": true, "**/.git/**": true }, "search.exclude": { "**/__pycache__": true, "**/.git": true, "**/.mypy_cache": true, "**/.pytest_cache": true }, // === 🐍 PYTHON === "python.defaultInterpreterPath": "D:/IIS/Orius/api/venv/Scripts/python.exe", "python.languageServer": "Pylance", "python.analysis.autoImportCompletions": true, "python.analysis.indexing": true, "python.analysis.typeCheckingMode": "basic", "python.analysis.useLibraryCodeForTypes": true, "python.analysis.memory.keepLibraryAst": false, // === 🧹 FORMATADOR === "python.formatting.provider": "black", "python.formatting.blackArgs": [ "--line-length", "100" ], // === ✅ LINTING === "python.linting.enabled": true, "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": true, "python.linting.flake8Args": [ "--max-line-length=100" ], // === 🧩 FORMATAÇÃO LOCAL === "[python]": { "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true }, // === 🧠 GIT === "git.enabled": true, "git.autorefresh": true, "git.confirmSync": false, "git.fetchOnPull": true, "git.countBadge": "tracked", "git.pruneOnFetch": true, "git.postCommitCommand": "sync", "git.openDiffOnClick": true, "git.decorations.enabled": true, // === 🔍 GITLENS === "gitlens.advanced.messages": { "suppressShowKeyBindingsNotice": true }, "gitlens.codeLens.enabled": false, "gitlens.currentLine.enabled": false, "gitlens.hovers.enabled": true, "gitlens.views.repositories.autoRefresh": true, "gitlens.views.repositories.location": "scm", "gitlens.defaultDateFormat": "DD/MM/YYYY HH:mm", "gitlens.defaultDateShortFormat": "DD/MM HH:mm", "gitlens.statusBar.enabled": true, // === 💻 TERMINAIS INTEGRADOS === "terminal.integrated.profiles.windows": { "FastAPI Dev": { "path": "cmd.exe", "args": [ "/k", "cd D:\\IIS\\Orius\\api && venv\\Scripts\\activate && uvicorn main:app --reload --log-level debug" ] }, "FastAPI Prod": { "path": "cmd.exe", "args": [ "/k", "cd D:\\IIS\\Orius\\api && venv\\Scripts\\activate && uvicorn main:app --host 0.0.0.0 --port 8000" ] }, "FastAPI Test": { "path": "cmd.exe", "args": [ "/k", "cd D:\\IIS\\Orius\\api && venv\\Scripts\\activate && pytest -v" ] }, "Python Shell": { "path": "cmd.exe", "args": [ "/k", "cd D:\\IIS\\Orius\\api && venv\\Scripts\\activate" ] }, "Git Bash": { "path": "C:\\Program Files\\Git\\bin\\bash.exe" } }, "terminal.integrated.defaultProfile.windows": "FastAPI Dev", "terminal.integrated.scrollback": 10000, "terminal.integrated.enablePersistentSessions": false, // === 🧪 TESTES === "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "python.testing.autoTestDiscoverOnSaveEnabled": true, // === 🗂️ ARQUIVOS === "files.exclude": { "**/.DS_Store": true, "**/*.log": true } }, "launch": { "version": "0.2.0", "configurations": [ { "name": "Debug FastAPI", "type": "python", "request": "launch", "module": "uvicorn", "args": [ "main:app", "--reload", "--host", "127.0.0.1", "--port", "8000" ], "jinja": true, "justMyCode": true, "cwd": "${workspaceFolder}", "env": { "PYTHONPATH": "${workspaceFolder}" } }, { "name": "Pytest All", "type": "python", "request": "launch", "program": "${workspaceFolder}/venv/Scripts/pytest.exe", "args": [ "-v" ], "console": "integratedTerminal" } ] }, "extensions": { "recommendations": [ // === 🐍 PYTHON === "ms-python.python", "ms-python.pylance", "ms-python.black-formatter", "ms-python.flake8", "littlefoxteam.vscode-python-test-adapter", // === 🔍 GIT === "eamodio.gitlens", "mhutchie.git-graph", "donjayamanne.githistory", // === 🧰 UTILITÁRIOS === "formulahendry.code-runner", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml" ] } }