Disable PostHighlightingVisitor when you have your own version Permanently deleted user 创建于 2016年03月14日 21:51 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?
Could you please clarify "giving me wrong results"? Is your plugin sources available?
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?
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.