This has been observed many times before, but I got it out of a sudden after upgrading VSCode to the latest 1.47 version:
Error: The PlatformIO task detection didn't contribute a task for the following configuration:
{
"type": "PlatformIO",
"task": "Monitor",
"problemMatcher": [
"$platformio"
],
"label": "PlatformIO: Monitor"
}
The task will be ignored
Haven’t noticed this on my W10 (20.04 build) with VSCode 1.47.0… only being doing uploads for atmelavr/espressif8266 in last few days though. Sorry (not sorry! ).
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 1.12.4 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog)
I have tried removing .vscode but when I build I always get the following error message:
Error: The PlatformIO task detection didn’t contribute a task for the following configuration: