Can you tell us what steps you followed when reinstalling?
Also, what did you do when you were reorganising your system – the changes you made to bork it the first time?
Have you attempted to open an existing project and compile it? It should download the required frameworks and tools when you first do so. Installing PlatformIO into VSCode doesn’t do that for you as it has no idea which board(s) you will be using.
I uninstalled VSCode and deleted the PlatformIO and VSCode folders from /Users.
Then I just reinstalled VS with the .exe and added the extension in VSCode.
Last time I installed VSCode, it asked me if I wanted to also install a list of extensions like C++, Python, etc. That didn’t happen this time. I was prompted to add C++ in VSCode, but I think the messages indicated a failure.
I’ve piled up a lot of project folders, so I divided them into groups. Display, ESP Now, RF, etc. Now there is a list of folders under /Projects.
In VSCode, on the left, click the extensions Icon, (three boxes together with one apart) then at the top, drip down the drop down, and choose “Installed”. What list do you get?
At the very least, you should find the “C/C++ 1.1.0” extension from Microsoft, and “PlatformIO IDE 2.2.0” from PlatformIO.
If you have another C/C++ extension, you might need to delete it. If you have installed the Arduino extension for *.ino files, definitely delete it!
Interesting. I only got asked to install Python extensions when I opened a *.py file. I think, but I don’t remember correctly, that I might have had a number of “recommended” extensions to install – but I ignored that list and installed the ones I needed.
In VSCode, click Terminal->New Terminal and in the terminal that opens execute pio --version.