如何修复 Platform IO "No tasks to run found. Configure tasks..."
如果你在尝试运行 PlatformIO 任务如 Build 或 Upload 时看到此消息:
platformio_message.txt
No tasks to run found. Configure tasks...你可以轻松修复:在 Visual Studio Code 中打开 Preferences: Open settings (JSON)(打开操作菜单的默认快捷键是 Ctrl+Shift+P)。
然后查找此行:
settings.json
"task.autoDetect": "off"并删除它。
现在保存文件。保存 settings.json 后你可以立即运行 PlatformIO 任务,无需重启 Visual Studio Code!
Check out similar posts by category:
PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow