mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 11:37:27 +01:00
More VSCode devcontainer improvements (#1934)
This commit is contained in:
parent
bfca3f242a
commit
32f2da77f8
@ -32,7 +32,7 @@
|
|||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.formatOnType": true,
|
"editor.formatOnType": true,
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"terminal.integrated.defaultProfile.linux": "/bin/bash",
|
"terminal.integrated.defaultProfile.linux": "bash",
|
||||||
"yaml.customTags": [
|
"yaml.customTags": [
|
||||||
"!secret scalar",
|
"!secret scalar",
|
||||||
"!lambda scalar",
|
"!lambda scalar",
|
||||||
|
@ -103,6 +103,10 @@ venv.bak/
|
|||||||
# mypy
|
# mypy
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
|
||||||
|
# PlatformIO
|
||||||
|
.pio/
|
||||||
|
|
||||||
|
# ESPHome
|
||||||
config/
|
config/
|
||||||
examples/
|
examples/
|
||||||
Dockerfile
|
Dockerfile
|
||||||
|
35
.vscode/tasks.json
vendored
35
.vscode/tasks.json
vendored
@ -1,11 +1,32 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "run",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "python3 -m esphome dashboard config/",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "clang-tidy",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "test -f .gcc-flags.json || pio init --silent --ide atom; ./script/clang-tidy",
|
||||||
|
"problemMatcher": [
|
||||||
{
|
{
|
||||||
"label": "run",
|
"owner": "clang-tidy",
|
||||||
"type": "shell",
|
"fileLocation": "absolute",
|
||||||
"command": "python3 -m esphome dashboard config/",
|
"pattern": [
|
||||||
"problemMatcher": []
|
{
|
||||||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error):\\s+(.*) \\[([a-z0-9,\\-]+)\\]\\s*$",
|
||||||
|
"file": 1,
|
||||||
|
"line": 2,
|
||||||
|
"column": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user