Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IDEA 12 disable strange XML highlight

This is how my pom.xml file looks in IDEA 12.

I hate how the app highlights the opening and closing < > signs.

How can I disable it?!

IDEA 12 XML Highlight

like image 616
Sir Bohumil Avatar asked Nov 11 '13 10:11

Sir Bohumil


2 Answers

Go to Settings (Preferences) | Editor | Colors&Fonts | XML. On the right side choose Tag and select Background checkbox.

like image 138
y.bedrov Avatar answered Sep 27 '22 02:09

y.bedrov


If you want to get rid of the grey background for XML, HTML and related formats, go to Settings (Preferences) | Editor | Colors&Fonts | Language Defaults and uncheck Background for Markup Tag.

I think the default setting was intended to highlight the difference between tags and content, but indeed, it's not very pleasant looking.

like image 20
Bogdan Calmac Avatar answered Sep 25 '22 02:09

Bogdan Calmac