May I ask how to change the color of this line

Answered

Thank you very much for the answer

0
5 comments

Looks like Indent guides.

0

no,but thanks

It is the connection between the first and last line numbers of the current code block

0

See https://www.jetbrains.com/help/idea/code-folding-settings.html.

It's the Code folding outline.

You are using the old UI, so you have this option. My screenshot is with the New UI, so this option is not available, and only arrows are shown.

The color of this line is set via the IDE theme and cannot be customized in the settings. To change this color, a new custom theme has to be created as an IDE plug-in.

Consider switching to the New UI so that this line is replaced with the arrows. https://youtrack.jetbrains.com/issue/IDEA-340026 has a sample plug-in showing how to customize the folding arrows.

1

So, the color of this line is based on the current theme setting and does not support modification? Thank you for your answer

0

Yes, it's defined in the theme.

0

Please sign in to leave a comment.