Search code examples
javamavenintellij-ideasyntax-highlighting

Intellij missing syntax highlighting for Java


I'm really desperate to find a solution for this. For some weird reason, IDEA is not showing a complete syntax highlighting for my Java code. I already tried changing the "sources root", checking power mod, deleting the .ignore plugin, but i still getting this odd look on my code. I've imported it as a maven project through the pom.xml file.

screenshot


Solution

  • As i said in the comments above, the problem was related to the "DK Monokai" theme (must have been downloaded somewhere, i can't remember) and somehow, resetting the Settings -> Editor -> Inspections checkbox for Java worked for all themes but this one. Thanks everyone for the help.