Hi all, I'm pretty new this, just made a four bit binary counter, and wrote the code using Arduino IDE 2.3.8
As you can see, it all works fine, buuttt there's always something. Why are the syntaxs 'LOW' , 'HIGH' and 'OUTPUT' not colour coded blue?
Thanks in advance.
=== EDIT=== I opened the file in the online IDE and all syntax colour coding is fine?
Hi @madmarshman1969. Arduino IDE 1.x and Arduino Cloud Editor use a bespoke syntax highlighting system that was specifically configured for use with the "Arduino language".
Conversely, Arduino IDE 2.x uses an industry standard general purpose C++ syntax highlighting system. This means there is no special treatment of names from the Arduino core API in Arduino IDE 2.x. So the highlighting you are observing in Arduino IDE 2.x is normal and expected.
The upside of the approach taken for the Arduino IDE 2.x syntax highlighter is that it is far more sophisticated than the crude systems implemented in Arduino IDE 1.x and Arduino Cloud Editor. So you are less likely to encounter inappropriate highlighting when using Arduino IDE 2.x.
1 Like
Hi @ptillisch thank you, I did continue my research into this issue and you answer confirms what I've found from other 'sensible sounding' sources. Thanks again.
1 Like