Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!




Arduino IDE - Chang...
 
Share:
Notifications
Clear all

Arduino IDE - Change the color of the error messages


 Hans
(@hans)
Noble Member Admin
Joined: 8 years ago
Posts: 2027
Topic starter  

I love the Arduino and the free IDE is pretty slick. One thing however bothers me every single time ... the hard to read tiny error messages below the code.
Thank goodness, we can modify it, but this can be rather cumbersome to find the right file to do that.
The file is called "theme.txt".
Note: the location of theme.txt may be different on your system, it's typically found somewhere in the installation directory of the Arduino IDE.
Under MacOS X, I found it here:

/Applications/Arduino.app/Contents/Java/lib/theme/theme.txt

Under Windows, I found it here:

C:Program FilesArduinolibthemetheme.txt

Under Ubuntu I found it here:

/usr/share/arduino/lib/theme.txt

In "theme.txt" you'll find this little bit of text:

# GUI - CONSOLE
console.font = Monospaced,plain,11
console.font.macosx = Monaco,plain,10
console.color = #000000
console.output.color = #eeeeee
console.error.color = #A61717

Changing the "console.error.color" would change the text color that is currently red. 
Note that changing the font here does not seem to have an effect.
Change it for example to yellow:

console.error.color = #ffff00

If you'd rather have a white background (background is "console.color"), with a darker red text, try:

console.color = #FFFFFF
console.error.color = #861300

You'll have to restart the Arduino IDE after saving that file.
If the font is too small (which tends to happen with a Retina screen), use the Arduino Preferences menu, and set "Editor font size" to for example 14.


ReplyQuote

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: