PlatformIO Community

Beginner problem re file structure

I’ve installed the Windows VS Code PlatformIO extension and created a simple esp32 blink test. The code runs ok, but the overall file structure does not look as expected. Not sure why the projects are mirrored in the workspace one level up.

How to fix?

Right click on the top-most “PlatformIO” folder and select “Remove from Workspace”.

A workspace can contain multiple folders. You happen to have both the PlatformIO folder and “PlatformIO\Projects\ESP32 Blink Test” in your VSCode workspace, so the files they contain overlap.

You should always have the folder that directly has the platformio.ini in it in your workspace.

Yes, all good. Not sure how I arrived at that. Thx for your help.