platformio-vscode-ide: The latest VSCode 1.37 seems to break PlatformIO
I’m still diving into this, but when I just upgraded to VSCode v1.37.0, it broke something about platformio paths:
> Executing task: platformio run <
The terminal shell path "platformio" does not exist
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 44 (12 by maintainers)
Commits related to this issue
- Temporary workaround for the broken Tasks API in the latest VSCode 1.37 // Resolve #957 — committed to platformio/platformio-vscode-ide by ivankravets 5 years ago
Please update to https://github.com/platformio/platformio-vscode-ide/releases/tag/v1.8.2
We switched temporarily to VSCode ShellExecution API.
Forget to mention that you also need to disable the
Use Builtin PIOCoreoption inSettings->Extensions->PlatformIO IDE Configuration@ivankravets and @Tyriar thank you for tagging me. Yes, this is absolutely a candidate for the recovery build. Corresponding VS Code issue: https://github.com/microsoft/vscode/issues/78898
@ivankravets likely mid-late this week
I don’t have more ideas for workarounds. Let’s wait for the official tips from VSCode team.
We could actually try to play with system shells and detect it automatically. However, this is “dirty way”.
I just use the SuperQuick install in the plataformio page (python -c “$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)”) EDIT: Probably with sudo.
This is a bug of VSCode. It’s 2nd time when a new release of VSCode breaks Tasks API. The current workaround is to downgrade VSCode to 1.36.
@alexr00, @Tyriar, @dbaeumer could you explain how to fix it now? We use
ProcessExecutionAPI, see https://github.com/platformio/platformio-vscode-ide/blob/develop/src/tasks.js#L68Same here for VSCode. It seems, that the build/upload task won’t open the PlatformIO Shell properly. When clicking in the bottom bar to open a shell window and manually executing
platformio run --target uploadit is working fine. So I guess the installation is not completely broken …Confirmed also on Linux Debian Buster. Confirmed also that the problem is in the Tasks, using platformio thru cli still works with the integrated version, no need to install system-wide.