"Auto Build Marlin" provides a one-button interface to build and upload Marlin Firmware to your selected MOTHERBOARD, removing the need to edit your platformio.ini file or scroll through a long list of Marlin environments.
When installing "Auto Build Marlin" you'll also be prompted to install the PlatformIO extension. This is required for "Auto Build Marlin" to function.
Open up the downloaded Marlin Firmware project folder (NOT the "Marlin" folder within) in Visual Studio Code. (You may also use the Import Project… option from the "PlaformIO Home" page.)
With Marlin open, the "File Explorer" should be firmly rooted in your Marlin Firmware folder:
Click the Auto Build Marlin icon in the Activities Bar (on the left side of Visual Studio Code window) to bring up the Auto Build Marlin options bar.
Click any of the tool icons to open the Auto Build panel. If there's only one target environment for your board the selected action will be started. Otherwise you will have to specify the environment.
Start Marlin Build to test your Marlin build
Start Marlin Upload to install Marlin on your board
Start Marlin Upload (traceback) to install Marlin with debugging
Start Marlin Clean to delete old build files
Open the Configuration Tool
The Auto Build Marlin panel displays information about your selected motherboard and basic machine parameters. Each board comes with one or more build environments that are used to generate the final Marlin binary. Choose the environment that best matches your MCU, bootloader, etc.