RunLineMarkerContributor loops on package and imports

I must be doing something really wrong, but my RunLineMarkerContributor is only processing the package declaration and the import statements.

It gets to PsiElement(class) and the begins again at the package level. It just does this constantly in a loop, except, sometimes if I edit the file really quickly and delete / add a load of lines to the class body, it will decide to parse the entire file.

Any advice ?

Comment actions Permalink


Probably something may modify the PSI, but it's hard to guess without the sources.

Comment actions Permalink

Nothing in the plugin does PSI updates, it only reads.

You think something external is constantly modifying the PSI ?


Please sign in to leave a comment.