is it possible specific color each instance of arduino IDE ?

Hello world !

Sorry for my poor english.

I work with several Arduino board. I should want have different color when I use different instance of Arduino IDE, as I have different port COM.

Do not confuse instances and windows. An instance is when opening IDE.

In one instance with file/open I can open several windows having all same port COM, same Serial Monitor.

If I open several instance, for each I can define one different port COM and have one specific Serial Monitor (and opening multiple windws).

To find witch Serial Monitor works witch what instance of Arduino IDE, I think it is easier if they have same color. On each Arduino board I will past a same colored electric ribbon as Arduino IDE.

It is not about font color or backgroud color, but only the color of horizontal separation lines (top or head, botton or foot, and line that which changes color when having a compilation error).

Is it possible ?

I think it a good idea ... I want it ! Maybe take a look in source code and compil/share your new version ?

+1 for the idea.

I would love to be able to tell which COM port has what by this method.

Or even better something to be able to "lock out" COM ports seeing as I have so many devices connected that way I wouldnt program the wrong board.

padouet: I think it a good idea ... I want it ! Maybe take a look in source code and compil/share your new version ?

It is a good idea ... see you soon !

+1 from me too!

have downloaded source, but it is too technical and too big … Too many word “color” found and I do not know witch colors code #??? are used in IDE.
Maybe a find/paste wil be enough to make a blue or green or yellow IDE named arduino_blue-1.8.2 or arduino_green-1.8.2 or arduino_yellow-1.8.2 …

Maybe later IDE will be skinable ?

up !

neutrinos: up !

re: your tagline

The Little Neutrino - Klaatu

dougp: re: your tagline

The Little Neutrino - Klaatu

what you mean ?

Not a bad idea as a foundation, but single instance multi tab would be better IMO.

Assign a sketch to a device by id/serial might be something more useful, so no matter which port the device is using the sketch gets loaded up on the correct device.

With this in place if you over-ride from the tool menu then the option to update the sketch settings should be shown.

This is just ideas from me, I'm not a c developer, just getting started with Arduino so the changes required are far beyond my experience.

neutrinos: what you mean ?

It's just a song about your screenname.

Possibly key off of the port selection... change the port, change the color.

why not ! It is a posiibility ...

It is a good idea ! But I cannot help you ... Maybe change IDE ? https://www.intorobotics.com/alternatives-standard-arduino-ide-one-choose/

It looks like the serial monitor is current "uncolored" compared to the other Arduino windows. The relevant code to change THAT looks like:

diff --git a/app/src/processing/app/AbstractTextMonitor.java b/app/src/processing/app/AbstractTextMo
index 1602e86..8d3a353 100644
--- a/app/src/processing/app/AbstractTextMonitor.java
+++ b/app/src/processing/app/AbstractTextMonitor.java
@@ -82,6 +82,9 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {
     upperPane.add(textField);
     upperPane.add(Box.createRigidArea(new Dimension(4, 0)));
     upperPane.add(sendButton);
+//+WEW
+    upperPane.setBackground(Theme.getColor("linestatus.bgcolor"));
+//-WEW

     mainPane.add(upperPane, BorderLayout.NORTH);

@@ -117,6 +120,9 @@ public abstract class AbstractTextMonitor extends AbstractMonitor {

     serialRates.setMaximumSize(serialRates.getMinimumSize());

+//+WEW
+    pane.setBackground(Theme.getColor("linestatus.bgcolor"));
+//-WEW
     pane.add(autoscrollBox);
     pane.add(Box.createHorizontalGlue());
     pane.add(noLineEndingAlert);

Wrapping that in some sort of UI and code to actively change the colors is a more complicated issue, but perhaps this will be a useful clue to someone. (the "linestatus.bgcolor" is controlled by lib/theme/theme.txt, which is user-editable, but not a value that can be changed at runtime, nor saved...)

How many instances did you want to have?

westfw:
How many instances did you want to have?

I can have 5 arduino (5 separate IDE opened) on same time connected to my computer.

I think the color is 32,162,164 or 0x20A2A4 and I search it inside files and find nothing. I my mind I want try to change this value with hex editor.

it is a wonderful suggestion, there is only to find how to put it into practice... be patient ! I can't do it

Do you want something like that ?

ide_arduino_several_color.jpg

After reading your post, I want it too !

I do it very quickly with paint … Sorry for quality.

padouet:
Do you want something like that ?

If I understand correctly, this thread and your issue report:

is primarily about automatic color coding of each instance of the IDE and the Serial monitor associated with that instance. Unfortunately that seems like it would be fairly complex to achieve and the Arduino developers have no immediate plans to implement this feature.

However, in your issue report you had also asked:

If it is not important for developper, maybe it is possible to define this in style file or maybe I can compil an IDE_Arduino_red, an IDE_Arduino_yellow, an IDE_Arduino_green, etc. How can I do it ? Please explain me.

It is possible to customize the coloration of the IDE by editing the theme.txt and default.xml files. By editing the theme of each of three installations of the Arduino IDE (or really only two of the three since one can be left default) you could easily achieve something like what is shown in your screenshot above. I have attempted to document the various theme settings here:

Unfortunately it does not appear that it is possible to customize the coloration of the Serial Monitor via the theme files.