rust-analyzer/crates
Michał Muskała 528a0bcf9b Avoid transmitting unchanged diagnostics
Reading through the code for diagnostics and observing debug logs, I noticed
that diagnostics are transmitted after every change for every opened file,
even if they haven't changed (especially visible for files with no diagnostics).

This change avoids marking files as "changed" if diagnostics are the same to what
was already sent before. This will only work if diagnostics are always produced in
the same order, but from my limited testing it seems this is the case.
2021-02-17 12:45:17 +01:00
..
assists Merge #7620 2021-02-16 14:01:09 +00:00
base_db Fix warnings when running cargo doc --document-private-items 2021-01-18 16:44:40 -05:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
completion Complete builtin type paths 2021-02-11 19:52:46 +01:00
flycheck Make logger-based debugging more pleasant 2021-01-28 17:07:53 +03:00
hir expose hir::Type::type_paramters 2021-02-13 22:04:52 +03:00
hir_def Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
hir_expand add more counts 2021-01-27 12:39:19 +03:00
hir_ty Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
ide Allow comments between newlines in chaining hints 2021-02-17 00:09:56 +01:00
ide_db Use cfg(target_arch) instead of a Cargo feature 2021-02-16 18:50:06 +01:00
mbe Make sure normal dependencies always have version 2021-02-03 12:51:07 +00:00
parser Specialization for async traits 2021-02-15 18:33:12 +01:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api Remove redundant clones 2021-02-05 16:57:26 +01:00
proc_macro_srv Remove use of deprecated std::collections::Bound 2021-02-16 18:22:14 -05:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model Fix a few clippy::perf warnings 2021-02-16 10:55:34 -05:00
rust-analyzer Avoid transmitting unchanged diagnostics 2021-02-17 12:45:17 +01:00
ssr . 2021-01-20 01:56:11 +03:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax Merge #7687 2021-02-16 14:16:47 +00:00
test_utils Add parsing benchmark 2021-02-09 21:52:34 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00