Image Image Image 01 Image Image Image Image Image Image Image Image Image Image

arduino

Custom arduino dark theme syntax highlighting and skin

ATM, this only works for OSX, however it shouldn’t be too hard to port it over to windows. I will do writeup on it soon.

A few days ago I posted about a Processing dark theme hack I did, it generated some interests so I did one for arduino too. Had a few ask how it was done, so here you go!

first download: wu-arduino-theme

Unzip and place here: /Applications/Arduino.app(right click and view contents here)/Contents/Resources/Java/lib/theme

This has all the skin files you need to get it set up. Make sure you back up old ones incase something goes wrong. You can always download new version of arduino as well.

open up arduino and go into your preferences: Adruino > Preferences… and you will see a line that says “more preferences can be edited directly in the file” and then it has a file location. You can click that location and it will take you directly there.

Now make sure you close arduino IDE else you will overwrite your changes when you close (arduino IDE saves pref files on close).

Ok, now open up: preferences.txt and change the following lines:

editor.antialias=true
editor.font=Monaco,plain,12

and Voilà! you’re done.

Comments

  1. What are you supposed to do with the theme files after you’ve downloaded them?

    • lukasz

      Yikes! seems that I have missed a critical step huh? Must have been tired… I have amended the tutorial, they need to go in: /Applications/Arduino.app/Contents/Resources/Java/lib/theme

      thanks for the catch.

  2. wilson

    You may see the serial port initially when the IDE starts, but the TX/RX leds do nothing when uploading. You may have previously changed the baudrate in the serial monitor to something it does not like. Edit ~/.arduino/preferences.txt so that serial.debug_rate is a different speed, like 115200.

  3. maribel

    Now make sure you close arduino IDE else you will overwrite your changes when you close (arduino IDE saves pref files on close).

  4. hollis

    The ‘preferences.txt’ file will not exist if the Arduino program has never been run. In this case, it will be created automatically the first time the program runs and the ‘upload.reset_dialog’ option will be set to ‘true’ by default.

  5. Jerold Poole

    Using a programmer is another option and all of these are configured in the file Programmers.txt that you can find inside the folder .\hardware\arduino\ in your Arduino installation.

Submit a Comment