Update vscode files (#379)

This commit is contained in:
Jesse Hills 2023-02-09 12:07:36 +13:00 committed by GitHub
parent 422f25f776
commit 0d53c0d49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 33 deletions

View File

@ -1,38 +1,42 @@
{ {
"name": "ESPHome API Client Dev", "name": "ESPHome API Client Dev",
"image": "ghcr.io/esphome/aioesphomeapi-proto-builder:latest", "image": "ghcr.io/esphome/aioesphomeapi-proto-builder:latest",
"extensions": [ "customizations": {
"ms-python.python", "vscode": {
"visualstudioexptteam.vscodeintellicode", "extensions": [
// yaml "ms-python.python",
"redhat.vscode-yaml", "visualstudioexptteam.vscodeintellicode",
// editorconfig // yaml
"editorconfig.editorconfig", "redhat.vscode-yaml",
// protobuf // editorconfig
"pbkit.vscode-pbkit" "editorconfig.editorconfig",
], // protobuf
"postCreateCommand": "pip3 install -e .", "pbkit.vscode-pbkit"
"settings": { ],
"python.languageServer": "Pylance", "settings": {
"python.pythonPath": "/usr/bin/python3", "python.languageServer": "Pylance",
"python.linting.pylintEnabled": true, "python.pythonPath": "/usr/bin/python3",
"python.linting.enabled": true, "python.linting.pylintEnabled": true,
"python.formatting.provider": "black", "python.linting.enabled": true,
"editor.formatOnPaste": false, "python.formatting.provider": "black",
"editor.formatOnSave": true, "editor.formatOnPaste": false,
"editor.formatOnType": true, "editor.formatOnSave": true,
"files.trimTrailingWhitespace": true, "editor.formatOnType": true,
"terminal.integrated.defaultProfile.linux": "bash", "files.trimTrailingWhitespace": true,
"files.exclude": { "terminal.integrated.defaultProfile.linux": "bash",
"**/.git": true, "files.exclude": {
"**/.DS_Store": true, "**/.git": true,
"**/*.pyc": { "**/.DS_Store": true,
"when": "$(basename).py" "**/*.pyc": {
}, "when": "$(basename).py"
"**/__pycache__": true },
}, "**/__pycache__": true
"files.associations": { },
"**/.vscode/*.json": "jsonc" "files.associations": {
"**/.vscode/*.json": "jsonc"
}
}
} }
} },
"postCreateCommand": "pip3 install -e ."
} }

1
.vscode/tasks.json vendored
View File

@ -11,6 +11,7 @@
}, },
"presentation": { "presentation": {
"reveal": "never", "reveal": "never",
"close": true,
"panel": "new" "panel": "new"
}, },
"problemMatcher": [] "problemMatcher": []