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

0
4 comments

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.

0
Avatar
Permanently deleted user

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.

0

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.

0
Avatar
Permanently deleted user

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

 

0

Please sign in to leave a comment.