Open domibay-hugo opened 3 years ago
On the affected line I deleted the Semicolon ;
and reinserted it and saved the document but the accused error never is notified as corrected.
[t=1610537117415] LSP4E to org.eclipse.corrosion.rls:
Content-Length: 293
[t=1610537117415] LSP4E to org.eclipse.corrosion.rls:
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"version":55,"uri":"file:///path/to/my_project/src/my-project-1.rs"},"contentChanges":[{"range":{"start":{"line":416,"character":51},"end":{"line":416,"character":52}},"rangeLength":1,"text":""}]}}
[t=1610537129256] LSP4E to org.eclipse.corrosion.rls:
Content-Length: 293
[t=1610537129257] LSP4E to org.eclipse.corrosion.rls:
{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"version":2,"uri":"file:///path/to/my_project/src/my-project-1.rs"},"contentChanges":[{"range":{"start":{"line":416,"character":51},"end":{"line":416,"character":51}},"rangeLength":0,"text":";"}]}}
[t=1610537134176] LSP4E to org.eclipse.corrosion.rls:
Content-Length: 28616
[t=1610537134176] LSP4E to org.eclipse.corrosion.rls:
{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///path/to/my_project/src/my-project-1.rs"},"text":"\[..\]"}}
What should be the correct Procedure and LSP Communication to get the Correction Notification ?
Using the Eclipse Corrosion Plugin with
rls
I found that I get wrong error reports when formatting the code. How to reproduce?The Log File
org.eclipse.corrosion.rls.log
reports:Although the source code file was resubmitted recently the submitted deletions lead to a corrupted Index of the File in
rls
accusing of an error where there isn't any.