clutcher / bh

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

Add support for java tokens highlighting (null, true, false) #15

Closed ErioGH closed 2 years ago

ErioGH commented 2 years ago

Hello, when i'm trying to change highlighting for these keywords, there is no any effect. For other keywords everything works properly. Am I doing something wrong? highlighting doesn't work

clutcher commented 2 years ago

@ErioGH true, false and null are not keywords.They are regular literals. I can check if idea add some metadata, which I can use to identify this values.

ErioGH commented 2 years ago

When i'm trying to edit colour scheme, there is no true or false in the example text, but they definitely inherit they colour scheme from keyword type, also as null.

Screenshot 2021-12-20 at 23 31 30
ErioGH commented 2 years ago

this option is available in Material Theme UI, but it was locked by paywall since recently, so a think Idea has some metadata.

Screenshot 2021-12-20 at 23 48 28
clutcher commented 2 years ago

@ErioGH

Material Theme greatly extends existing Intellij possibilities including highlights, so it is not relevant to compare with it. Also I checked that Idea provides metadata, which I can use to add support for such type of tokens.