From 7afe202e20356e4157b444a8ecce01a412c85893 Mon Sep 17 00:00:00 2001 From: gitolicious <26963495+gitolicious@users.noreply.github.com> Date: Sun, 13 Dec 2020 20:24:26 +0100 Subject: [PATCH] Run task for VS Code (#1361) * Add VS Code task to run dashboard * Includ VS Code tasks in git * Set problemMatcher to none --- .gitignore | 3 ++- .vscode/tasks.json | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index c3f57b15e7..86a27eb4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -81,7 +81,8 @@ venv.bak/ .pioenvs .piolibdeps .pio -.vscode +.vscode/ +!.vscode/tasks.json CMakeListsPrivate.txt CMakeLists.txt diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000..e11600b093 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,11 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "run", + "type": "shell", + "command": "python3 -m esphome config dashboard", + "problemMatcher": [] + } + ] +}