The command line
pio init --ide visualstudio --board adafruit_grandcentral_m4
seems not to work anymore as expected.
Starting from Marlin platformio.ini already initialized with multiboard (agcm4 is already defined as environment) with above command line I get:
Error: Invalid value: invalid choice: 1. (choose from off, chain, deep, chain+, deep+) for option
lib_ldf_modein section [env:fysetc_STM32F1]
launching PIO, using as board the one defined in env_default, it works