简体   繁体   中英

How do I modify Darcula error highlights in IDEA?

I love the Moonrise UI theme for Eclipse. However I have grown less fond of Eclipse and am trying to switch to IDEA. One of the things I miss most though with the Moonrise theme is how nicely it highlights compile errors and warnings. It highlights the text background red and yellow respectively.

在此输入图像描述

Errors and warnings in IDEA's Darcula theme, however, are not so obvious.

在此输入图像描述

How do I modify the Editor pane colors in IDEA to format errors/warnings exactly like Eclipse Moonrise and highlight the background red/yellow?

Go to Settings/Editor/Colors and Fonts . If you haven't modified the theme before, save it first using Save As... button, because you can't modify the default one.

Then go to General and find Error and Warning items in the list. Uncheck the Error Stripe Mark and Effects checkboxes and check the Background checkbox. You can then select the color by clicking on the color selector next to the checkbox.

Screenshot:

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM