I searched for this issue, but I couldn’t find anything about it. But, I noticed when I was writing a sketch that some keywords were not getting highlighted in the Arduino IDE.
Specifically, I was using the SD card library (based on sdfatlib), and I noticed that isDirectory(), openNextFile(), and a couple of other methods were not getting highlighted. So, I opened the keywords.txt file and added them in the appropriate section (KEYWORDS2). It didn’t work. My questions are:
- Why are they missing?
- How do I add them (or should I add them) and get them to work?
It might have been an oversight that these keywords are missing. You can add them to the
keywords.txtfile to get the highlighting.In addition to that, you can also send a pull request to the official Arduino GitHub repository.