Keywords.txt for IDE 2.x

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":

1 Like