diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-02-15 11:36:10 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-02-15 11:36:10 +0100 |
| commit | f4c2ba186a01a036360eae27db7616cbcf92ebda (patch) | |
| tree | 9277679ee60047d7a32bb97a035844846b9849d5 /json.lua | |
| parent | 84f4d69d22e45135b71bd5eaa9010974ee2d7521 (diff) | |
| download | vis-lspc-f4c2ba186a01a036360eae27db7616cbcf92ebda.tar.gz vis-lspc-f4c2ba186a01a036360eae27db7616cbcf92ebda.zip | |
[lspc] send textDocument/didChange notification before any textDocument/<method>
We currently have no good way of detecting changes in a file,
therefore we send the whole file content in a textDocument/didChange
notification each time we want something from the language server.
Consequences from this design:
* diagnostics are not up to date till the client calls a server method
* The server may need longer for its answer when it it informed about
changes immediately before the client requests its service
* We pass unnecessary much data between server and client which may be
unpractical for huge files
Diffstat (limited to 'json.lua')
0 files changed, 0 insertions, 0 deletions
