-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Content of dockerfile gets out of sync with actual file after an edit #244
Comments
@rchl Thank you for your bug report. Were you typing at the end of the Dockerfile? |
No, roughly in the middle. It also reproduces in empty file if I just type "WORK". I suppose other editors might report edits differently (maybe collapse all edits into one) so might need to trigger such payload manually to reproduce. |
@rchl OK, thanks. I can see it happening at the end of a file (which is the same as an empty file) and I've also been able to reproduce it in the middle of the file. |
@rchl I've released a 0.1.1 which should help with this...? |
Yes, that fix looks good. Thanks. |
@rchl Thanks for checking! |
Editor sends a
textDocument/didChange
message with this payload:which triggers this error diagnostic through
textDocument/publishDiagnostics
notification:So it appears that language server doesn't process changes correctly, resulting in content getting out of sync with actual file.
The text was updated successfully, but these errors were encountered: