The development environment for boards of the Arduino family - Arduino IDE - has a very modest and discreet appearance. Many would like to customize it for themselves, but, unfortunately, this feature is not yet available. At least from the development environment itself. However, there is still such a possibility. Let's see how to customize the look and feel of the Arduino IDE.
It is necessary
A PC with the Arduino IDE installed
Instructions
Step 1
Let's take a look at what the standard IDE color scheme looks like. This is how the development environment looks when it is first launched after downloading from the developer site. Blue bars, white text editing box, yellow highlighting, gray comments, blue and orange keywords and methods, etc.
Step 2
All of the IDE's appearance settings are stored in the file% Arduino_IDE_folder% / lib / theme / theme.txt.
It describes all the font and color settings. There are many of them, let's open this file and take a closer look at its contents.
All parameters are divided into groups. Here are some:
# GUI - STATUS - responsible for the colors and fonts of the status field, # GUI - TABS - for tabs, # GUI - CONSOLE - behind the console field, # GUI - BUTTONS - for buttons, # GUI - LINESTATUS and # LINE STATUS - per status line, # EDITOR - DETAILS - this large section describes all the options for a text editor field, # TEXT - KEYWORDS - sets the colors of keywords (functions, methods and structures), # TEXT - LITERALS - defines constants, literals, # TEXT - COMMENTS - describes comments.
The illustration shows the correspondence of the program interface details to the sections of the theme.txt file.
Step 3
To change the appearance of the Arduino IDE, you need to close the development environment, if it is open, open the theme.txt file with any text editor, change the desired values to the desired ones, save the file. Now launch the IDE again - voila, the new style settings are applied automatically.
Let's change some of the parameters to see it clearly.
All parameters have meaningful names, so it's clear what is responsible for what. For example, the editor.bgcolor, editor.fgcolor and editor.comment1.style parameters are responsible for the text editor background color, font color and comment color, respectively. Let's change a few parameters, save the theme.txt file and restart the Arduino IDE. Now you know how to customize the development environment for Arduino completely to your taste.