Code to cause an open editor to be reparsed


I'm looking for a way of programmatically trigger reparsing of an open editor pane. The use case is that I've got a plugin containing a couple of intentions which evidently leave the parse in an inconsistent state. Red lines for "symbol not found" when the symbol is actually available, that sort of thing. Doing a "Reformat" on the file removes the red lines, but that seems a bit of overkill for an intention that only modifies a couple of lines. Any thoughts?

0

Please sign in to leave a comment.