No syntax highlighting in Arduino IDE 2.1.1

I just downloaded Arduino IDE 2.1.1 on my windows 11 PC and encountered a bug.

I noticed that in my IDE every code and every comment is just the same white text with no special coloring. (If I change to light mode, it's black text.) So it looks like a word document basically. Every piece of code is the same color.

I downloaded it again but nothing changed. I also downloaded it on another computer with windows 10 and it worked on that one. So this bug seems to occur on windows 11 or on specific computers or something like that.

I didn't mess with the files of the program, I didn't install any themes. I just downloaded the IDE and opened a code.

This is how the Arduino IDE looks like to me:

This is what it should look like:

Welcome to the forum

Your topic has been moved to the IDE 2.x category of the forum as it relates to that version of the IDE

@ptillisch - any suggestions regarding the lack of code colouring

IDE >> FILE >> PREFERENCES >> THEME >> Light || Dark || High Contrast

Changing the theme will make it look different, but it still looks like a word dokument. The different keywords don't have proper color.

Update the IDE to 2.2.1.

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