VS Code error squiggles

Hi,

First of all, let me confess, I am new to VS Code - NRF SDK environment.

I have a VS Code setup with NRF extensions enabled and due to some reason, the error squiggles in the VS Code highlights all the includes files and data type specifiers like uint8_t, uint16_t...

Attached the screenshot of the highlights error squiggles.

I see this on all of my program files.

The program builds fine and is working fine, no issues with that. 

Seeing so much red highlight does not look good right.

Please help me to setup environment neat so that my code also looks neat.

Thank you in advance.

Parents Reply
  • Hi Jared,

    Thank you for your reply.

    I added the NCS directory to my workspace and it did not solve my issue, I can still see error highlighted.

    Attached the screenshot of the NSC dir added to workspace

    When I hover my cursor on any of the includes line, I see similar to below error description.

    cannot open source file "stdio.h". Please run the 'Select IntelliSense Configuration...' command to locate your system headers.

    When checking further I see we can configure IntelliSense and paths.

    May I know how to configure IntelliSense?

    Where can I find the compiler path?

    Do I need to include any paths CMAKE/any extensions setting?

Children
Related