Open wc7086 opened 1 year ago
Have you toggled the case sensitive file system setting yet? You may not be aware of it but it looks like it should be set to "enabled" in your case.
Have you toggled the case sensitive file system setting yet? You may not be aware of it but it looks like it should be set to "enabled" in your case.
I changed this option but it didn't work
Are there two eeprom.h headers? (one EEPROM.h, and one eeprom.h?) I don't see an EEPROM.h (all caps) in your project, just the lower-cased one.
Are you looking for help with your build failure (which seems to be related to the missing EEPROM.h), or a way to configure IntelliSense so that the CTL+Click goes to EEPROM.h? I don't know how to configure your build, but to configure IntelliSense, you need to tell the extension where the all caps header/source files for EEPROM are. Run the C/C++: Edit Configurations (UI)
command and then add the necessary folders into the "Include Path" box.
Are there two eeprom.h headers? (one EEPROM.h, and one eeprom.h?) I don't see an EEPROM.h (all caps) in your project, just the lower-cased one.
Sorry, to save time I didn't configure the include path manually, platformio automatically configures the path to EEPROM.h after calling in the dependency libraries. I'm sure I've introduced the path to that dependency library in the config file, and I can see in the gif I posted that clicking on the called class jumps to EEPROM.h correctly, but clicking on
PS: platformio can add dependency libraries to the project, I will upload the libraries and their path configurations in the demo in a few hours if necessary.
I can reproduce the problem after installing the Platform.io extension. Probably the easiest workaround until we fix this is to rename your workspace files so that they differ by more than just the casing. After renaming the local header from eeprom.h to eeprom2.h, fixing the references, and reloading the window, there were no more red squiggles in the file.
Do you have this set: "C_Cpp.caseSensitiveFileSupport": "enabled"
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
demo: https://github.com/wc7086/cppextdemo
Steps to reproduce:
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
Holding down the ctrl key and clicking on
#include "eeprom.h"
and#include <EEPROM.h>
both go toeeprom.h
, but clicking on the EEPROM class goes toEEPROM.h
normally.