This may be caused by poor performance in the parser, further investigation needed.
If so, this could be worked around by adding an option to delay analysis until no changes to a file has been made for X seconds (so only when user has stopped typing). Alternatively we can send a 'clearing' diagnostic report when we begin a new analysis, so that we report nothing while analysis is in progress.