Arduino language keywords are not colored in sketch code

Hej er det en der kan sige mig, hvorfor min kodning i en sketch ikke bliver grøn, når jeg skrriver specifikationer, eks.. HIGH eller LOW
Version 2.2.1?

Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.

Your topic has been moved to the dedicated IDE 2.x section of the forum..

You have posted in the English section of the forum; please use the English language.

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.