PlatformIO Community

Include warnings


I got some warnings?! What is going wrong?

Error in c_cpp_properties.json and main.cpp files after installing PIO

Maybe the paths need updating - is that folder path valid? Try PlatformIO: Rebuild IntelliSense Index via the Command Palette (Ctrl+Shift+P or View -> Command Palette).


It doesn’t help because there is no include folder.


Hm… I’d be tempted to remove the invalid paths in c_cpp_properties.json, but the more important question is why did invalid paths get added, or is something missing.

There’s nothing in the platformio.ini file that is adding those paths?


Removing the paths doesn’t help, because they come back on next index rebuild.
Maybe a problem with pro core development?


There is also another path problem.


What is your platformio.ini?


platform = atmelsam
board = mzeropro
framework = arduino


This is VSCode C++ extension issue, see


Any idea of the include path warnings?


Could you try the latest version of PIO Core Dev? pio upgrade --dev.


Ok this works for the include warning. :grinning:


With the last Core Dev, there are no more warnings