I’m new in VSCode & PlatformIO.
Everything seems working except a path in the problems reports.
I compile my project with SUCCES, but I have few warnings shown in PROBLEMS columns.
When I click on the file having the warning, I have message “File not found”.
When I check where the is suppose to be, it says :
But the warnings from the lower screenshot are justified, they are actual compiler warnings. Can you reproduce the errors with any other project? Where do you have the MQ7.ino file from?
INO is not a valid CPP format. It’s a specific file format which was developed for Wiring IDE. Later, Banzi (Arduino co-founder) stole an idea with Wiring and made a business on top of Wiring under “Arduino” label. As result, PDE (original format) was copied to INO. I recommend to read this https://arduinohistory.github.io/
In any case, I’ve just filed an issue and will add warning to PlatformIO IDE about possible issues with INO format: