| Summary: | LSP reporting stale errors after file is reloaded externally | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Denis Lisov <dennis.lissov> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 21.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Denis Lisov
2021-09-07 15:13:18 UTC
Which LSP?
> Kate should propagate the new stat of the file to the language server
Kate does that.
Try pressing F5, and if the errors are still being highlighted, then it is most likely a bug in the server.
(In reply to Waqar Ahmed from comment #1) > Which LSP? RLS (Rust) > > Kate should propagate the new stat of the file to the language server > > Kate does that. > > Try pressing F5, and if the errors are still being highlighted, then it is > most likely a bug in the server. The errors are still being highlighted immediately after a revert. F5 does not help, but a small edit (like adding a space to the last line) causes them to disappear. Does the propagation on reload and propagation on edit happen in different ways?.. Weird that F5 doesn't help since it reloads everything about the doc. Anyways, for the warnings to disappear, that is expected behaviour but yeah could be improved. Closing as doesn't seem like a bug in our client + rust-analyzer is the prefered way to go these days. |