Highlight color not updating in direct in custom language

Answered

Hi,

 

I'm trying to create a plugin to handle Ren'Py (a Visual,Novel engine  with a python like language).

I first entirely followed the tutorial on how to  create a custom language plugin without any problem, everything worked.

Now I want to to the same but I  have a problem with highlight coloring. When loading the project, everything is fine but new code  is all white: (on the image the last line has been added after loading, and you can see the PSI is good)

Any idea of why it does that ?

8 comments
Comment actions Permalink

Can't enabled internal actions when running the plugin, the option to edit the properties is grayed

0
Comment actions Permalink

You can pass it as VM parameter "-Didea.is.internal=true" as well

0
Comment actions Permalink

ok. I enabled the option then added line 16

It shows that the highlighter ignore the new tokens, but the question is why ?

0
Comment actions Permalink

Please shares sources of your plugin

0
Comment actions Permalink

How do I do that ? I won't paste all the code right here.

0
Comment actions Permalink

Sure, you can upload ZIP somewhere and send me link in private <yann.cebron@jetbrains.com>

0
Comment actions Permalink

Ok, I sent it to you.

For information it's for Ren'Py, a language which looks like Python

0

Please sign in to leave a comment.