Stream: t-compiler/rust-analyzer

Topic: slow diagnostics?


Manmeet Mann (Jun 02 2021 at 11:27, on Zulip):

I am getting textDocument/publishDiagnostics after ~100ms sending textDocument/didChange, is this expected?

Florian Diebold (Jun 02 2021 at 11:31, on Zulip):

100ms for diagnostics doesn't seem that long to me

Jonas Schievink [he/him] (Jun 02 2021 at 11:32, on Zulip):

does it happen while typing in use imports?

Manmeet Mann (Jun 02 2021 at 11:32, on Zulip):

yes

Jonas Schievink [he/him] (Jun 02 2021 at 11:33, on Zulip):

then this is a known issue: https://github.com/rust-analyzer/rust-analyzer/issues/8636

Manmeet Mann (Jun 02 2021 at 11:34, on Zulip):

is the editor supposed to cache the diagnostics and update the ranges when editing?

Manmeet Mann (Jun 02 2021 at 11:38, on Zulip):

currently getting this move.gif

Last update: Jul 29 2021 at 08:00UTC