Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing behaviour for Clean All #4386

Closed
DigiH opened this issue Aug 9, 2022 · 2 comments
Closed

Confusing behaviour for Clean All #4386

DigiH opened this issue Aug 9, 2022 · 2 comments

Comments

@DigiH
Copy link

DigiH commented Aug 9, 2022

With recent updates of Visual Studio Code (1.17.0) and Platformio (Core 6.1.3/Home 3.4.3/IDEv2.5.1) on macOS 10.15.7 I'm experiencing strange behaviours when trying to select the Clean All project task in an environment.

Clean works fine as usual, cleaning the build directory of the environment.

Clean All however, which previously nicely also cleaned the libdeps of the project environment, now only brings up the task menu, with the shown three options when clicking on the entered Clean All command

Screenshot 2022-08-09 at 20 19 38

Screenshot 2022-08-09 at 20 20 08

Also when using the cli command for cleanall, e.g.

platformio run --target cleanall --environment esp32dev-ble

it cleans ALL libdeps for all previously built environments, but only the build directory for the specified environment.

I'm pretty confident that when the actual Clean All project task was still working for me previously it only ever cleared/deleted both the build directory and the libdeps only for the environment it was selected in.

Thought I had might have something messed up on my system, but just confirmed with a colleague confirming the same behaviour on his macOS 12.5 and all the latest relevant versions as myself.

@DigiH
Copy link
Author

DigiH commented Aug 10, 2022

Hi @ivankravets , thanks a lot for the very quick fix, which seemed to have solved the cli command issue mentioned above

platformio run --target cleanall --environment esp32dev-ble

in the --dev upgrade. 👍

The sidebar task Clean All still is broken though.

Searching for Clean tasks in the Platformio tasks brings up

Screenshot 2022-08-10 at 16 26 21

with the PlatformIO: Clean a build environment and installed library dependencies being the cleanall task, but not named/linked to the Clean All sidebar project task any longer.

Or would this be addressable in platformio-vscode-ide ?

Thanks

@ivankravets
Copy link
Member

It looks like an issue in VSCode, see microsoft/vscode#157814

Could you file a new issue in https://github.com/platformio/platformio-vscode-ide/issues ? We will make a hotfix to it and release a new version of extension. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants