New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incremental document handling #54
Conversation
@ZacLN Can you resolve the merge conflict? |
Yep, let me close this |
There is in general no need to close PR to resolve a merge conflict. Normally it should be enough that you do the following locally on your machine:
That should normally do the trick. Main benefit is that we don't loose the discussion history here. |
arg, appologies for that |
No need to apologize, what you are contributing here is just plain amazing! |
@davidanthoff could you see if this works when you get a chance?
This parses documents into blocks, runs the linter on the individual blocks and picks up some information about local variables for functions.
When a didChange event happens it marks blocks intersect with the change and re-parses only those affected...ish. Saving the file parses everything afresh.
The line numbers on diagnostics are a bit wonky