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,6 +1,8 @@
{ {
"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",
"customizations": {
"vscode": {
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"visualstudioexptteam.vscodeintellicode", "visualstudioexptteam.vscodeintellicode",
@ -11,7 +13,6 @@
// protobuf // protobuf
"pbkit.vscode-pbkit" "pbkit.vscode-pbkit"
], ],
"postCreateCommand": "pip3 install -e .",
"settings": { "settings": {
"python.languageServer": "Pylance", "python.languageServer": "Pylance",
"python.pythonPath": "/usr/bin/python3", "python.pythonPath": "/usr/bin/python3",
@ -35,4 +36,7 @@
"**/.vscode/*.json": "jsonc" "**/.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": []