Hello,
Perhaps it is a very simple thing but it took me some time figure it out. In Win10, with VScode, using the rigth button of the mouse over the toolbar you can control the icons that appear on it. In my case, PlatformIO was unchecked (I do not know why?). I selected it again and it worked again.
Best regards,
Rubén