The question is also about VSCode. I want to transfer all settings and plugins from mac OS to another computer (Windows). Is there a simple (automated) way to do this?
No idea about VSCode settings. For PlatformIO, it will suffice to do a fresh install of PlatformIO on the new computer and then override
~/.platformio with the
~/.platformio folder from the old computer. You should probably backup all your projects too. If your projects refer to your Arduino library installation via
lib_extra_dirs, backup those too.