https://docs.platformio.org/en/latest/integration/ide/vscode...
And esp32 can use the same Arduino library.