Is the keywords.txt file used in the v2.x IDE?
Hi @sstaub. No, the keywords.txt
files are completely ignored by Arduino IDE 2.x.
Arduino IDE 2.x uses an industry standard C++ keyword highlighting system (the same one used by VS Code so it's pretty smart about highlighting in general, but there isn't currently any way to customize the behavior short of diving into modifying a fairly complex "textmate grammar":
Thank you, I'm writing many libraries for Arduino. Maybe I will do it only for backward compatibility for IDE 1.x
You are welcome. I'm glad if I was able to be of assistance.
I've noticed your contributions to the Arduino Library Manager. Thanks!
I think it is a reasonable thing to do. My impression is that an increasing majority of users are now on Arduino IDE 2.x, but also that a significant number are sticking with 1.x for various reasons, so there will definitely be a segment of the user base who will benefit from your efforts.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.