Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij color scheme not working properly on Ubuntu

Having tried multiple color schemes I am not able to get Intellij IDEA v15 working properly on my Ubuntu box. I've upgraded from v14 but it had no results.

Am I missing something simple? No matter what I do (even modify colors in my custom color scheme) it looks like only java keywords, comments and strings are properly colored. Things like classes, fields, etc are always black.

Any pointers on how to get it working are much appreciated.

this is java code sample in the editor

like image 711
Paul Avatar asked Jan 13 '16 18:01

Paul


1 Answers

In the Project pane, right click your Source directory and navigate to > Mark Directory As > Sources Root

I had this exact same issue, in addition IntelliJ was not identifying Java syntax errors, missing imports, and similar things. Hope this resolves the issue for you.

like image 94
MattL Avatar answered Oct 14 '22 09:10

MattL