From 2b0234c29996f48812f46d7f7ebfa4df6be95de3 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 7 Jan 2023 17:13:22 +0100 Subject: [PATCH] Tasmota VSCode settings.json (#336) (#17640) * Tasmota VSC custom menu --- .gitignore | 1 + .vscode/settings.json | 49 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index e7ee0a81d..3a575e21a 100644 --- a/.gitignore +++ b/.gitignore @@ -34,5 +34,6 @@ lib/libesp32/berry/berry .vscode/.browse.c_cpp.db* .vscode/c_cpp_properties.json .vscode/launch.json +.vscode/settings.json *.bak *.code-workspace diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..330a1092f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,49 @@ +{ + "platformio-ide.toolbar": [ + { + "text": "$(trash)", + "commands": [ + { + "id": "workbench.action.tasks.runTask", + "args": "PlatformIO: Clean All" + } + ] + }, + { + "text": "$(check)", + "commands": [ + { + "id": "workbench.action.tasks.runTask", + "args": "PlatformIO: Build" + } + ] + }, + { + "text": "$(zap)", + "commands": [ + { + "id": "workbench.action.tasks.runTask", + "args": "PlatformIO: Upload" + } + ] + }, + { + "text": "$(flame)", + "commands": [ + { + "id": "platformio-ide.runPIOCoreCommand", + "args": "pio run -t erase_upload" + } + ] + }, + { + "text": "$(device-desktop)", + "commands": [ + { + "id": "workbench.action.tasks.runTask", + "args": "PlatformIO: Monitor" + } + ] + } + ] +}