7

I have IntelliJ IDEA 12 and something weird is happening when I load custom font color themes like SonOfObsidian https://gist.github.com/palaniraja/2097581.

The left border displaying the line numbers is white, it is ugly with the dark UI color theme "Darkcula". So I checked the settings to find a way to change this color and I can't find it anywhere.

Unfortunately I can't post an image showing how it looks (low reputation.)

Anyone have an idea ?

1
  • 1
    You may post a link to the image so that others can edit and embed it. Jun 30, 2013 at 18:39

3 Answers 3

20

Extreme Coders is almost right. But for IntelliJ IDEA 12, JetBrains seems to have renamed the color property (I remember looking for this one myself, for quite a while...).

The color is still found under:

  Editor > Colors & Fonts > General

The name of the color property you are looking for is Gutter background.

1
  • Great! Thank you!
    – drakeet
    Sep 20, 2016 at 8:23
2

For those who cannot find the option in recent versions (IntelliJ IDEA 2018 and Android Studio 3), here is the exact path:

 Editor > Color Scheme > General > Editor > Gutter background

Hope it helps.

1

I do not have IntelliJ Idea 12 installed on my system, but this is how you should change the line number color in version 11.1. This should also work for version 12.

Go to File->Settings

Under IDE Settings expand Editor -> Colors & Fonts ->General

In the list shown on right scroll to Line Number

Now you can change the foreground and background colors of the Line Numbers.

Here is the image shown for reference

enter image description here

1
  • Thanks a lot but I was looking for the background border color setting not the line number color, haraldK is right on this.
    – Hypnoz
    Jun 30, 2013 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.