Disable PostHighlightingVisitor when you have your own version

Hi. I'm on IJ 15. When doing custom language support, I need to stop the default PostHIghlightingVisitor from running...it's giving me wrong results.  

Where is that configured?

 

3 comments
Comment actions Permalink

Could you please clarify "giving me wrong results"? Is your plugin sources available?

0
Comment actions Permalink

I'm trying to modify the Gosu language plugin...there are sources available, I think, but probably not the version I am working on.

I don't think it's relevant, however. There is a GosuPostHighlightingVisitor which does the right thing for Gosu files.

I want IntelliJ's PostHighlightingVisitor to not run on these files.

How do I accomplish that, please?

0
Comment actions Permalink

You can't.

The PostHighligthingVisitor is just a part of syntax analysis which highlights unused members.

It's supposed to always run and can be tuned via various extension points. E.g. ImplicitUsageProvider, UnusedDeclarationFixProvider, EntryPointsManager.

0

Please sign in to leave a comment.