I posted an issue https://github.com/platformio/platformio-vscode-ide/issues/1411 that the build log is not cleared when building a second time. The behavior not to clear the log is apparently a design choice, but the instructions to activate this don’t work: http://docs.platformio.org/en/latest/ide/vscode.html#task-runner
Please click on “gear” icon near “Build” task in Menu > Tasks
There’s no menu named “tasks” in latest VSCode 1.40.2. If the instruction means the PlatformIO “project tasks” sidebar, there’s no gear icon there.
I managed to get the .vscode/tasks.json somehow anyway and pasted the code. No change when building.
Since I think this should be the default behavior, there should at least be a simple way to activate it. This was also addressed in VSCode; would like to clear terminal before build