Is there a way to highlight (change the background color) of text?

Does PlatformIO have a way to highlight (change the background color) of text in a program?

You mean the IDE you use with PIO, like VSCode? Which one exactly?

I have a balancing robot program written in cpp. I am using PlatformIO for VSCode. I can highlight text in word as shown. I am wondering if I can also do this in the in PlatformIO.

You can certainly customise the themes in VSCode, but I don’t know if it will let you do it to the level you’ve shown in your sample, where an if block is one colour, and the else is another.

1 Like