Syntax Highlighting Problem
Answered
Hi,
I'm using IDEA 2018.2.2 Ultimate on Win 7. When trying to customize various color schemes for either Java, or Scala, I encounter the same problem: for some entries (most notably, "Classes and Interfaces") the changes in properties don't affect the color scheme in question, yet the sample code pane reflects the changes correctly.
Any help will be greatly appreciated.
Thank you,
Ashot
Please sign in to leave a comment.
Please provide the steps to reproduce and screenshots showing the problem, including the screenhsot of the Settings | Editor | Color Scheme | Java page with the color attributes you are changing.
Hi Andrey,
Thanks for the quick response; here are the screenshots of Settings panel and Java source, affected by settings:
The issue affects many other color scheme settings (e. g. "Parameters") for Java and Scala sources, regardless of a particular color scheme, and may be relevant to other languages as well.
You do not have the root folder of the sources marked as a source root in the module's content root. So such files are not recognized as a source files in project. See Configure content roots.
Thank you very much: it worked.
The workaround/feature doesn't look very intuitive to me, but solves the puzzle, after all.
Take care!
Ashot