No worries… I will try to take it easy on you then!
I just realised you are using Visual Studio, not Visual Studio code… so can’t help re: platformio.vxproj
However, a quick test of
platformio init makes me think the vxproj file that is created is for whatever board type you initialised last… ie. if you do nanoatmega328 and then adafruit_grandcentral_m4 it will have adafruit_grandcentral_m4 references. But if you do adafruit_grandcentral_m4 and then nanoatmega328 it will have nanoatmega328 references?
I do not think this has a connection to env_default - please correct me if I am wrong. Both boards are added to platformio.ini, but it seems that the platformio.vxproj gets completely replaced so only the last board type configured is present.
@ivankravets Is this a bug, or expected behaviour? Since
init is supposed to"Initialize new PlatformIO based project or update existing with new data." Or am I missing something?