clutcher / bh

Issue tracker for Better Highlights Intellij IDEA plugin
7 stars 0 forks source link

keywords don't works on IntelliJ IDEA 2021.3 #16

Closed gungun974 closed 2 years ago

gungun974 commented 2 years ago

Hello, maybe I am wrong in my use of the plugin but despite trying to reproduce as on the screenshots I cannot change the color of a keyword (here "plublic") I tested this under Linux then under MacOS but no difference. Screen Shot 2021-12-13 at 21 31 30

clutcher commented 2 years ago

@gungun974 Can you check what type of keyword is "public"? If it is "METHOD KEYWORD", then highlight would be applied to class methods only. To highlight any "public" keyword, including on class level (your screenshot) you should change type to just "KEYWORD". You can check that in Settings->Editor->Comment Highlighter.

2021-12-16_17-34-26

gungun974 commented 2 years ago

Thanks @clutcher, I'm sorry to answer that now to say that I had misread the documentation :sweat_smile:. In short, the custom syntax highlighting now works in Java.