Vertical scroll bar color

I'm using V2.1.1 with the dark background. I'm finding the scroll bar too narrow but more important, too dark. It's hard to find amongst the left over search markers. Is there a way of changing the color using advanced preferences, Ctrl-Shft-P?

In general, I find the new IDE spectacular compared to the older versions, V1.01.

While in the IDE, press CTRL+ (plus) or CTRL- (minus) to increase/decrease the size of the IDE.

Or... look for a third party theme?

Good tutorial, it starts by talking about changing the theme in the IDE v2.x.
Suggests using third-party themes but clarifies that they don't work with v2.
And ends by explaining how to install those themes in v1.x.
Ridiculous.

Hi @Arctic_Eddie

The Arduino IDE developers are tracking this problem here:

There was a bug in the Eclipse Theia IDE framework Arduino IDE is built on that prevented the adjustment of the scrollbar size from the non-standard size the Theia developers chose arbitrarily.

That bug has been fixed in Theia, but Arduino IDE was using a version of its Theia dependency from before the fix at the time of the latest Arduino IDE 2.1.1 release. This means that it is currently only possible to adjust the scrollbar size when using the nightly build of Arduino IDE 2.x.

In case you are interested in giving it a try, the nightly build download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

I'll provide the instructions for adjusting the size in the Arduino IDE advanced settings:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
    A menu will appear on the editor toolbar:
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Preferences" tab will open in the Arduino IDE main panel.
  3. Type editor.scrollbar.verticalScrollbarSize in the "Search Settings" field of the "Preferences" tab.
  4. Set your desired vertical scrollbar width in the field under the "Editor › Scrollbar: Vertical Scrollbar Size" setting.
  5. Type editor.scrollbar.horizontalScrollbarSize in the "Search Settings" field of the "Preferences" tab.
  6. Set your desired horizontal scrollbar height in the field under the "Editor › Scrollbar: Horizontal Scrollbar Size" setting.
  7. Close the Preferences tab by clicking its X icon.

There isn't a way to change the color of individual UI elements via the Arduino IDE preferences:

But you can install your own complete themes, including custom themes where you chose your own colors.

Note that, as MaximoEsfuerzo pointed out already, the information about custom themes in the link provided by xfpd is specific to Arduino IDE 1.x. The good news is that there are a huge number of 3rd party themes available for Arduino IDE 2.x thanks to its support for the themes of the hugely popular VS Code editor.

The instructions for installing custom themes are here:

https://github.com/arduino/arduino-ide/blob/main/docs/advanced-usage.md#3rd-party-themes

In case you don't find an existing 3rd party theme that meets your needs, you can create your own. There is some information about creating your own custom themes here:

Thanks for all the info. Making the bar a little wider will help. The position indicator brightness is my main problem. When the cursor is over it, the brightness goes up. If it would stay at that level then it would be OK. Slightly brighter would be better. I'll try the width first.

PS
The scroll bar gets wider but the position indicator stays the same. Will look at other themes.

I agree.

Which version of Arduino IDE are you using?

I'm using V2.1.1. I also lost the serial monitor output window autoscroll. It works when compiling but not when I watch data coming out.
PS
Found it.

That is the reason. As I already explained, there was a bug in Arduino IDE 2.1.1 and earlier that causes this behavior. That is why you must use the nightly build of Arduino IDE if you want to adjust the scrollbar size.

The nightly build download links are listed here:

I'll try that.
Thanks for the help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.