pinMode OUTPUT, INPUT, and INPUT_PULLUP do not change color

Just a note for the Arduino IDE Beta developers.

I notice that in the Arduino IDE 2.0.0-beta.5. when using the pinMode() function, the keyword arguments OUTPUT, INPUT, and INPUT_PULLUP do not show any coloring.

Screen Shot 2021-05-12 at 3.28.57 PM

With Arduino IDE 1.8.13 they show up blue-ish, which is helpful.
Screen Shot 2021-05-12 at 3.29.09 PM

I am using a macOS, with BigSur.

This is also the case for HIGH and LOW with digitalWrite()

In windows 10, the same happens, OUTUP, HIGH, LOW, INPUT and INPUT_PULLUP, it does not change color.
Also my PC is a FX6600, 16 Gb ram and a 6Gb nvidia 1060 video card, seagate 480 SSD disk, it starts slower than IDE 1.8.3, much slower than VS code, which has to load platformio and python

En windows 10, ocurre lo mismo, OUTUP, HIGH, LOW, INPUT e INPUT_PULLUP, no cambia de color.
Ademas mi PC es una FX6600, 16 Gb ram y una placa de video nvidia 1060 de 6Gb, disco seagate 480 SSD, arranca mas lento que el IDE 1.8.3, mucho mas lento que el VS code, que tiene que cargar platformio y python

1 Like

Could you test with the latest beta.6 release? It came out yesterday.
Is the coloring incorrect also with the dark theme or only with the light one?

I normally use the dark theme but I did check it for them all.

OUTPUT, HIGH, LOW, INPUT and INPUT_PULLUP does not change color, stays white, in all of the themes. Just as a matter of interest, personally I think the light Theia is totally unusable (on my computer and screen at least).


Just checked on Version: 2.0.0-beta.7

I checked on Dark and Light, still no coloring.

Screen Shot 2021-05-17 at 2.15.34 PM
Screen Shot 2021-05-17 at 2.15.54 PM

I hope this helps - thanks!

1 Like

I have opened an issue on our GitHub
Thank you for reporting

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

The bug report:

Should be resolved now.

Same here, I´m Using 2.0.3, OUTPUT, HIGH, LOW, INPUT and INPUT_PULLUP does not change color,

I see now that even though the incorrect coloration of Boolean literals reported at Incorrect syntax coloring for Boolean literals · Issue #291 · arduino/arduino-ide · GitHub was fixed, the coloration of macros was not. This is tracked by the Arduino IDE developers here: