aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/diagnostics.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fully document ra_lsp_serverAleksey Kladov2020-02-181-1/+3
|
* Rework how we send diagnostics to client.Emil Lauridsen2020-02-031-0/+85
The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones. The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides. This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure.