I think platformio's selling point is multiple target boards via ts config. That and you can use an actual editor instead of the arduino "IDE", although I'm not a fan of vscode anymore either.
I also think they have some testing features built in, though i never delved too deep.
> That and you can use an actual editor instead of the arduino "IDE"
Note that the Arduino IDE has a setting to edit files using any random program instead.