|
830 | 830 | }, |
831 | 831 | { |
832 | 832 | "text": "$(check)", |
833 | | - "tooltip": "PlatformIO: Build Active Environment", |
834 | | - "commands": [ |
835 | | - { |
836 | | - "id": "workbench.action.tasks.runTask", |
837 | | - "args": "PlatformIO: Build (${command:platformio-ide.activeEnvironment})" |
838 | | - } |
839 | | - ] |
| 833 | + "tooltip": "PlatformIO: Build", |
| 834 | + "commands": "platformio-ide.build" |
840 | 835 | }, |
841 | 836 | { |
842 | 837 | "text": "$(arrow-right)", |
843 | | - "tooltip": "PlatformIO: Upload Active Environment", |
844 | | - "commands": [ |
845 | | - { |
846 | | - "id": "workbench.action.tasks.runTask", |
847 | | - "args": "PlatformIO: Upload (${command:platformio-ide.activeEnvironment})" |
848 | | - } |
849 | | - ] |
| 838 | + "tooltip": "PlatformIO: Upload", |
| 839 | + "commands": "platformio-ide.upload" |
850 | 840 | }, |
851 | 841 | { |
852 | 842 | "text": "$(trashcan)", |
853 | | - "tooltip": "PlatformIO: Clean Active Environment", |
854 | | - "commands": [ |
855 | | - { |
856 | | - "id": "workbench.action.tasks.runTask", |
857 | | - "args": "PlatformIO: Clean (${command:platformio-ide.activeEnvironment})" |
858 | | - } |
859 | | - ] |
| 843 | + "tooltip": "PlatformIO: Clean", |
| 844 | + "commands": "platformio-ide.clean" |
860 | 845 | }, |
861 | 846 | { |
862 | 847 | "text": "$(beaker)", |
863 | | - "tooltip": "PlatformIO: Test Active Environment", |
864 | | - "commands": [ |
865 | | - { |
866 | | - "id": "workbench.action.tasks.runTask", |
867 | | - "args": "PlatformIO: Test (${command:platformio-ide.activeEnvironment})" |
868 | | - } |
869 | | - ] |
| 848 | + "tooltip": "PlatformIO: Test", |
| 849 | + "commands": "platformio-ide.test" |
870 | 850 | }, |
871 | 851 | { |
872 | 852 | "text": "$(plug)", |
|
0 commit comments