Just wanted to share this, as I came out of a day of debugging and attempts and reinstalling activity
In a project in Platformio, using cpp files, a json file got corrupted in some way and became binary.
effect is that the extension fails to load, which in turns caused platformio to fail to load.
You might consider handling these cases gracefully.
Discovered after spotting this message in the Help Developer tools of Vstudio
Activating extension 'ms-vscode.cpptools' failed: cannot open file:///d%3A/MyStuff/........er/.vscode/c_cpp_properties.json. Detail: File seems to be binary and cannot be opened as text.