rust/crates/rust-analyzer
Andrew Gallant c1a31d4261
main: eagerly prime goto-definition caches
This commit makes RA more aggressive about eagerly priming the caches.
In particular, this fixes an issue where even after RA was done priming
its caches, an initial goto-definition request would have very high
latency. This fixes that issue by requesting syntax highlighting for
everything. It is presumed that this is a tad wasteful, but not overly
so.

This commit also tweaks the logic that determines when the cache is
primed. Namely, instead of just priming it when the state is loaded
initially, we attempt to prime it whenever some state changes. This
fixes an issue where if a modification notification is seen before cache
priming is done, it would stop the cache priming early.
2020-04-25 09:28:34 -04:00
..
src main: eagerly prime goto-definition caches 2020-04-25 09:28:34 -04:00
tests/heavy_tests Cleanup proc_macro config 2020-04-23 18:55:26 +02:00
build.rs Remove unused placeholder 2020-02-21 18:33:45 +08:00
Cargo.toml Add proc-macro cli command for rust-analyzer 2020-04-16 21:13:57 +08:00