The ‘red squiggles’ the IntelliSense ‘error detection’ are provided by the C/C++ Microsoft VSCode extension, not by PlatformIO. Do not confuse the two. It is either failing due to it not parsing your project correctly, a mis-configuration in the c_cpp_properties.json file (either manual or automatic), or due to it choking up once again.
