162 lines
No EOL
5.6 KiB
Text
162 lines
No EOL
5.6 KiB
Text
{
|
|
"folders": [
|
|
{
|
|
"path": "S:/Web/Ferramentas/RCVinculaPartesLivroAntigo"
|
|
}
|
|
],
|
|
"settings": {
|
|
// ============================================================
|
|
// 🔧 GERAL
|
|
// ============================================================
|
|
"editor.minimap.enabled": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnType": false,
|
|
"files.trimTrailingWhitespace": true,
|
|
"files.autoSave": "onFocusChange",
|
|
"telemetry.telemetryLevel": "off",
|
|
"update.mode": "manual",
|
|
"workbench.startupEditor": "none",
|
|
"workbench.editor.enablePreview": false,
|
|
// ============================================================
|
|
// ⚡ PERFORMANCE — Ignorar lixo
|
|
// ============================================================
|
|
"files.watcherExclude": {
|
|
"**/__pycache__/**": true,
|
|
"**/.pytest_cache/**": true,
|
|
"**/.mypy_cache/**": true,
|
|
"**/.git/objects/**": true
|
|
},
|
|
"search.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/.pytest_cache": true,
|
|
"**/.mypy_cache": true,
|
|
"**/.git": true
|
|
},
|
|
// ============================================================
|
|
// 🐍 PYTHON
|
|
// ============================================================
|
|
"python.defaultInterpreterPath": "S:/Web/RCCasamentoLvAntigo/venv/Scripts/python.exe",
|
|
"python.languageServer": "Pylance",
|
|
"python.analysis.autoImportCompletions": true,
|
|
"python.analysis.indexing": true,
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.analysis.useLibraryCodeForTypes": true,
|
|
// ============================================================
|
|
// 🧹 FORMATADOR (Black)
|
|
// ============================================================
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": [
|
|
"--line-length",
|
|
"100"
|
|
],
|
|
"[python]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
"editor.formatOnSave": true
|
|
},
|
|
// ============================================================
|
|
// 🔍 LINTING (Flake8)
|
|
// ============================================================
|
|
"python.linting.enabled": true,
|
|
"python.linting.flake8Enabled": true,
|
|
"python.linting.flake8Args": [
|
|
"--max-line-length=100"
|
|
],
|
|
"python.linting.pylintEnabled": false,
|
|
// ============================================================
|
|
// 🧠 GIT
|
|
// ============================================================
|
|
"git.enabled": true,
|
|
"git.autorefresh": true,
|
|
"git.fetchOnPull": true,
|
|
"git.confirmSync": false,
|
|
"git.postCommitCommand": "sync",
|
|
"git.openDiffOnClick": true,
|
|
// ============================================================
|
|
// 🔍 GITLENS
|
|
// ============================================================
|
|
"gitlens.codeLens.enabled": false,
|
|
"gitlens.currentLine.enabled": false,
|
|
"gitlens.hovers.enabled": true,
|
|
"gitlens.defaultDateFormat": "DD/MM/YYYY HH:mm",
|
|
"gitlens.views.repositories.autoRefresh": true,
|
|
"gitlens.views.repositories.location": "scm",
|
|
// ============================================================
|
|
// 💻 TERMINAL — Perfis úteis
|
|
// ============================================================
|
|
"terminal.integrated.profiles.windows": {
|
|
"Python Shell": {
|
|
"path": "cmd.exe",
|
|
"args": [
|
|
"/k",
|
|
"cd S:\\Web\\RCCasamentoLvAntigo && venv\\Scripts\\activate"
|
|
]
|
|
},
|
|
"Run Script": {
|
|
"path": "cmd.exe",
|
|
"args": [
|
|
"/k",
|
|
"cd S:\\Web\\RCCasamentoLvAntigo && venv\\Scripts\\activate && python main.py"
|
|
]
|
|
},
|
|
"Git Bash": {
|
|
"path": "C:\\Program Files\\Git\\bin\\bash.exe"
|
|
}
|
|
},
|
|
"terminal.integrated.defaultProfile.windows": "Python Shell",
|
|
"terminal.integrated.scrollback": 10000,
|
|
"terminal.integrated.enablePersistentSessions": false,
|
|
// ============================================================
|
|
// 🗂️ FILTROS DE ARQUIVOS
|
|
// ============================================================
|
|
"files.exclude": {
|
|
"**/.DS_Store": true,
|
|
"**/*.log": true
|
|
},
|
|
// ============================================================
|
|
// 🚫 DESATIVAR COPILOT (opcional)
|
|
// ============================================================
|
|
"github.copilot.enable": {
|
|
"*": false
|
|
},
|
|
"github.copilot.inlineSuggest.enable": false,
|
|
"editor.inlineSuggest.enabled": false
|
|
},
|
|
// ==============================================================
|
|
// 🎯 DEBUG CONFIG — Python Standalone (não FastAPI)
|
|
// ==============================================================
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Python — main.py",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/main.py",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
// ==============================================================
|
|
// 📦 Extensões recomendadas
|
|
// ==============================================================
|
|
"extensions": {
|
|
"recommendations": [
|
|
"ms-python.python",
|
|
"ms-python.pylance",
|
|
"ms-python.black-formatter",
|
|
"ms-python.flake8",
|
|
"eamodio.gitlens",
|
|
"mhutchie.git-graph",
|
|
"donjayamanne.githistory",
|
|
"formulahendry.code-runner",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"tamasfe.even-better-toml"
|
|
]
|
|
}
|
|
} |