Arduino language keywords are not colored in sketch code

Hi @oletexas. Arduino IDE 2.x uses a common C++ language syntax highlighting system for coloring the sketch code in the Arduino IDE editor. Unlike Arduino IDE 1.x, it does not have any supplemental capability for developers to define arbitrary additional keywords. For this reason, keywords with special significance in the Arduino language, but not in C++ are not given special coloration as they were in Arduino IDE 1.x.

The Arduino IDE developers are tracking the need to add highlighting for these keywords here:

Please note that syntax highlighting is purely aesthetic. The lack of coloration of these keywords doesn't have any technical significance.