Change color or matching XML tags

Answered

Hi,

When I click on a tag in an XML file, IntelliJ highlights it and its corresponding closing tag with a dark orange background. How can I change that color? I could not find the proper setting to change it.

BTW I'm using a customized version of the Dracula theme.

Thanks!

Julien

 

0
7 comments

Settings (Preferences on macOS) | Editor | Color Scheme | General | Code | Matched brace.

0

Thank you for your reply, however this doesn't seem to match what I have in my settings (i.e. I'm not seeing that orange color):

Am I missing something?

0

Settings (Preferences on macOS) | Editor | Color Scheme | XML | Matched Tag.

0

Thanks again, but strangely this doesn't seem to match either:

0

Did you install any third-party plug-ins that affect highlighting, such as Rainbow Brackets?

Does it help if you disable the "Inherit values from" checkbox and define a different color for XML Matched Tag?

0

Aha, so it was indeed caused by a plugin: HighlightBracketPair (https://plugins.jetbrains.com/plugin/17320-highlightbracketpair). I uninstalled it and the problem went away. Thanks again for your help.

0

A bit late, but with `HighlightBracketPair` you could actually change/remove the color under Editor > Color Scheme > HighlightBracketPair and select CuspBracket.

0

Please sign in to leave a comment.