Error squiggles everywhere but build pass (PROS / EZ-template)

For the first time in three month I opened up VSCode again to write code for my robot. I downloaded the latest 3.0.0 version of ez template and unzip it. However when I open the main.cpp file there squiggles start appearing wherever there are namespaces like ez:: or pros::

I ran pros build all and it successfully passed without any errors

I think it might be a compiler setting error but I don’t know how to fix.

Here’s a screenshot, any help would be appreciated!

1 Like

uninstall the microsoft C/C++ extension and install clangd.

2 Likes

It’s an incompatibility issue between the cpp vscode extension and the pros c_cpp_properties.json file, see here for a fix:

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.