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
Please sign in to leave a comment.
Settings (Preferences on macOS) | Editor | Color Scheme | General | Code | Matched brace.
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?
Settings (Preferences on macOS) | Editor | Color Scheme | XML | Matched Tag.
Thanks again, but strangely this doesn't seem to match either:
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?
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.
A bit late, but with `HighlightBracketPair` you could actually change/remove the color under Editor > Color Scheme > HighlightBracketPair and select CuspBracket.