enso/app/gui/docs
Adam Obuchowicz a27f19fd02
Reloading file in LS after desynchronization. (#6752)
Fixes #5203

This PR changes behavior when `text/applyChange` returned error.

Before we always assumed that the change was _not_ applied, and tried to send full synchronization still assuming old file content. But this was not the case on some errors (timeouts for example). Now we instead reopen the file (getting its actual content) and then make a full invalidation.

Also added a shortcut allowing manual file reloading, what may be useful in some kinds of error (and also allowed me testing of reopening file in the application).

# Important Notes
The unit tests of sending text updates were improved: now we actually check if all expected messages are emitted from the IDE.
2023-05-23 08:19:27 +00:00
..
assets/tags Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
contributing Fix prettier formatting. Also, a typo. 2022-04-19 08:05:30 +02:00
product Reloading file in LS after desynchronization. (#6752) 2023-05-23 08:19:27 +00:00
CHANGELOG_TEMPLATE.md Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
CONTRIBUTING.md Use .node-version for pinning Node.js version (#6057) 2023-03-23 12:00:08 +00:00
README.md Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00

layout title category tags
docs-index Enso IDE documentation summary
doc-index

Enso IDE documentation