You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the C/C++ and Arduino extension to program for an Arduino Micro.
When opening the Arduino core files, I get error messages like these:
In this example, inttypes.h, stddef.h and avr/io.h all sit in the same parent folder "G:\Programme\Arduino\hardware\tools\avr\avr\include", which is included in my c_cpp_properties.json:
I can navigate to that folder and verify that all those files are there. In the case of inttypes.h, I even opened the file in VSCode, and after doing that reloading the VSCode window, the red squiggles under any occurence of #include <inttypes.h> vanished. This seems to be 100% repeatable. Even when I then close the file and reload the window, the error won't re-appear.
This leads me to believe that VSCode/Intellisense is somehow caching these files in a hidden location, but doesn't fill up that cache when changes to c_cpp_properties.json were made.
I also tried restarting VSCode completely, but that didn't help either. Am I maybe doing something wrong?
The text was updated successfully, but these errors were encountered:
You appear to be using the intelliSenseEngine "Tag Parser", which uses the browse.path setting instead of the "includePath" setting, so it seems like you should add paths to the browse.path.
I'm using the C/C++ and Arduino extension to program for an Arduino Micro.
When opening the Arduino core files, I get error messages like these:
In this example,
inttypes.h
,stddef.h
andavr/io.h
all sit in the same parent folder "G:\Programme\Arduino\hardware\tools\avr\avr\include", which is included in myc_cpp_properties.json
:I can navigate to that folder and verify that all those files are there. In the case of
inttypes.h
, I even opened the file in VSCode, and after doing that reloading the VSCode window, the red squiggles under any occurence of#include <inttypes.h>
vanished. This seems to be 100% repeatable. Even when I then close the file and reload the window, the error won't re-appear.This leads me to believe that VSCode/Intellisense is somehow caching these files in a hidden location, but doesn't fill up that cache when changes to
c_cpp_properties.json
were made.I also tried restarting VSCode completely, but that didn't help either. Am I maybe doing something wrong?
The text was updated successfully, but these errors were encountered: