rust/crates
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
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Add pub(crate) to functions generated in other module 2020-04-21 23:04:44 +02:00
ra_cfg
ra_db Some clippy fixes 2020-04-19 15:15:49 -04:00
ra_flycheck insta 0.16 2020-04-14 13:57:02 -04:00
ra_fmt Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00
ra_hir Do not add default and closure types in 'add explicit type' assist 2020-04-21 22:56:40 +03:00
ra_hir_def Record definitions in extern blocks 2020-04-23 23:36:23 +02:00
ra_hir_expand Improve remove dervie attrs 2020-04-22 01:44:21 +08:00
ra_hir_ty Merge #4106 2020-04-23 21:58:52 +00:00
ra_ide main: eagerly prime goto-definition caches 2020-04-25 09:28:34 -04:00
ra_ide_db Remove SyntaxPtr::range from more places 2020-04-23 16:33:01 +02:00
ra_mbe Convert bool to ident instead of literal in mbe 2020-04-19 03:24:17 +08:00
ra_parser Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_proc_macro proc_macro: add ability to log to stderr and view output in vscode 2020-04-23 01:57:02 +03:00
ra_proc_macro_srv Refactor a bit 2020-04-24 09:27:37 +08:00
ra_prof Move timeit to stdx 2020-04-10 20:46:42 +02:00
ra_project_model Don't print cargo version to stdout, breaking everything 2020-04-24 23:02:10 +02:00
ra_syntax Merge #3998 #4006 2020-04-24 20:10:54 +00:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer main: eagerly prime goto-definition caches 2020-04-25 09:28:34 -04:00
stdx Move timeit to stdx 2020-04-10 20:46:42 +02:00
test_utils Make records grammar more orthogonal 2020-04-11 19:20:41 +02:00