This is article is kind of help to make the default Arduino IDE somewhat sober-looking like Microsoft Visual Studio Code’s colour schemes for Arduino. Yes, autocompletion on Arduino IDE is not impossible. Here is how to change the theme, font, syntax highlighting of Arduino IDE and some ready to use themes matching with your iTerm scheme! The Arduino IDE is simply just basic, otherwise, it is not exactly bad to push a code faster.
How To Change the Theme, Font, Syntax Highlighting of Arduino IDE
We are dividing the thing in to two matters :
- Installing custom build of Arduino IDE
- Customizing Theme, Font, Syntax Highlighting of Arduino IDE
The second way is for already installed Arduino IDE. The method is very easy. In case of Mac, inside ~/Applications/Arduino.app/Contents/Java/lib
there is theme
directory and files like preferences.txt
. We need to replace the files in those directories with custom ones of course after making a copy of the original. This contains lots of changes, including all the button files, fonts etc. That path for Microsoft Windows is C:/Program Files (x86)/Arduino/lib
. In Linux it will be in /usr/share/arduino/lib/
. Otherwise, the thing is the same. There is an existing font directory inside like ../java/lib/fonts
. If you want to change the fonts too, you need to place the desired font’s OTF or TTF files, change the preferences file to match the new font.
---
Restarting the IDE works fine. We have a good collection of Arduino themes on Github :
1 | https://github.com/AbhishekGhosh/Arduino-Themes |
Installing a custom build of Arduino IDE is difficult to work and for matters like getting autocompletion feature. From Arduino Forum :
1 | http://forum.arduino.cc/index.php?topic=134198.0 |
We came to know that this custom build repo of Arduino IDE has autocompletion :
1 2 | https://github.com/ricardojlrufino/Arduino/tree/master https://github.com/arduino/Arduino/pull/3484 |
That developer has a different set of codes, so there will be some custom functions. In case you want to install it, for Mac you have to run :
1 2 3 4 5 6 7 8 9 10 11 | brew install git brew tap caskroom/cask brew cask install java brew install ant # set java home properly from profile file like ~/.zshrc cd ~ git clone https://github.com/ricardojlrufino/Arduino.git cd Arduino cd build ant dist ant run |
That beautiful “screenshot” in this article is “imagination of Artist” (read sketch) :
1 | https://dribbble.com/shots/1583301-Arduino-IDE-Redesign |
P.S.: Strangely, 40,000 peoples read this post in 3 years! I have not written this guide so seriously.
Tagged With change font color in arduino programmer windows 10 , arduino ide themes , arduino themes , arduino ide syntax highlighting , themes arduino ide , темная тема ардуино иде visual code , arduino ide highlight , arduino ide themes setting , arduino ide windows 10 changing the font , arduino theme