Open Chris2011 opened 7 years ago
I understand your need but it is not possible to satisfy all users that have different color themes for text rendering. So I decoded to define one adapted for standard NetBeans theme.
But I have the solution to your problem. It's you! No, it is not a bad joke! ANTLR Color theme is just completely integrated in NetBeans text rendering. So you may change colors. You can find them in Tools/Options/Fonts & Colors. Select ANTLR v4 grammar in language combo box. As you can see, you can modify the way tokens file are rendered as well.
Yes I know that, but for this needs I created a ticket at the darcula repo to ask who is responsible for the color problems of 3rd-party-plugins: https://github.com/Revivius/nb-darcula/issues/116 and he referenced a NetBeans bug: https://netbeans.org/bugzilla/show_bug.cgi?id=257867
It is about Code completion, but I don't know whether this will help for normal colors too. It is about to use LFCustoms.shiftColor(). Could this help?
I use the darcula look and feel of NetBeans, and for this, the grammar and tokens files doesn't look readable. Would be great to see a fix soon.
Regards
Chris