I wanted to change one of the default color assignments used in Groovy code (specifically, the block comment background, which is currently pale yellow and which I'd like to disable).
When I tried to do this, I encountered some odd behavior:
- Open IDEA Settings dialogue
- Select "Colors & Fonts (E)"
- Click the Groovy tab.
This is where things start acting up. When I do this, the display changes (e.g., the Groovy tab is moved to the second row of tabs), but I end up seeing the "General" tab, not the Groovy tab. Clicking the Groovy tab a second time seems to work.
- Select "Block Comment" from color category list.
The momentarily flashing box correctly calls out the block comment area of the sample code listing. However, the sample does not match the color being used in Groovy files. Moreover, changing that setting has no effect on the source display, block comments retain their pale yellow background.
- Lastly, upon clicking the Settings dialogue's Apply button, the list of color categories changes to these:
-- Tag name
-- Attribute name
-- Attribute value
-- Tag data
-- Entity reference
Oddly enough, these color categories appear nowhere else. At this point, the sample code is still Groovy and the Groovy tab remains (visually) selected. When I select these categories, the color configuration display to the right of the list changes, but the sample code never shows the flashing outline.
No exceptions are reported during this little exercise.
All in all, pretty funky!