[ERROR] All buttons of PlatformIO for VS Code on Ubuntu is disable

Yes, it was it. I removed VS Code and installed it again, I then installed Arduino extension first and verified and uploaded blink.ino, it was OK. Since it was prompted that there was conflict between Arduino extension and PlatformIO extension, so I uninstalled the previous one and installed the latter one, this time, for ensuring it was really work, I modified the blink.ino file and it was also verified and uploaded.

Where I found the installation and uninstall method were here:

  1. uninstall:
    software center - How do I uninstall Visual Studio Code? - Ask Ubuntu
  2. install:
    https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-20-04/

[IMPORTANT]Notes:
1.Don’t use snap method, use apt method.
2.After I uninstalled VS Code and installed it by the apt method immediately, the extension I installed before removal was already there, so I made a reboot between uninstall and install.
3.When I still couldn’t built project, I opened a new terminate, and “mkdir → cd → code”, then “creat a new project” in PlatformIO.