cancel
Showing results for 
Search instead for 
Did you mean: 

Red Squiggles in VSC

ARich.1
Associate II

I have recently started a project in VSC using an STM32 device.  I first used STM32CubeMX to generate code, so that created most of the project.  I am using CMAKE.

Initially there was no issue, and everything worked fine after disabling intellisense.  However, I have now become plagued by the stubborn red squiggles which refuse to disappear whatever I do.  I would prefer to continue using VSC, but will have to ditch it and move to another IDE if this problem does not go away, as I cannot work like this.  Further down the file there are many other red squiggles.  The project compiles fine, no issues there.  An example of the problem:

control.c.jpg

No matter what I do, the first #include has red squiggles under it.  If I change the order of the #includes, then it is always the first one which has the squiggles.  settings.json file:

settings.json.jpg

c_cpp_properties.json file:

c_cpp_properties.json.jpg

Any help would be gratefully appreciated, please.

0 REPLIES 0