I use the command line tool arduino-cli (with plain Makefile) to compile and upload the code (obviously usable in any editor). It has also a --verbose mode to show exactly what is getting executed.
But I heard a lot about platformio, so I am wondering what is its benefits (beside the integration in vscode; as an emacs user vscode is not working for me)
juliangmp|2 months ago
I also think they have some testing features built in, though i never delved too deep.
1718627440|2 months ago
Note that the Arduino IDE has a setting to edit files using any random program instead.