rust/crates
bors[bot] f320c38aec
Merge #4819
4819: Add an FST index to `ImportMap` and use it to speed up auto import r=matklad a=jonas-schievink

For the importing crate, we still use the symbol index, but I've modified it to only look at files that comprise that crate (instead of the whole workspace).

Oh, and since now the symbol query limit is respected correctly, it's possible that some results from the local crate now disappear if there are many matches.

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/4763

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2020-06-11 10:07:52 +00:00
..
ra_arena
ra_assists Respect casing when searching for imports 2020-06-10 16:04:55 +02:00
ra_cfg add support of feature flag for runnables #4464 2020-05-23 20:59:18 +02:00
ra_db Simplify 2020-06-09 13:17:22 +02:00
ra_flycheck flycheck now uses the configured features 2020-06-09 21:47:54 +02:00
ra_fmt
ra_hir Respect casing when searching for imports 2020-06-10 16:04:55 +02:00
ra_hir_def ImportMap: use IndexMap internally 2020-06-10 16:15:49 +02:00
ra_hir_expand Clean up import_map.rs 2020-06-10 12:38:58 +02:00
ra_hir_ty Clean up handling of int/float literal types 2020-06-06 17:52:00 +02:00
ra_ide In field patterns, don't highlight local binding as a field 2020-06-10 12:34:23 +02:00
ra_ide_db Merge #4819 2020-06-11 10:07:52 +00:00
ra_mbe
ra_parser Correctly parse <_> paths in patterns 2020-06-09 13:45:18 +02:00
ra_proc_macro
ra_proc_macro_srv Fix tests, apply code review proposals 2020-05-31 03:10:23 +03:00
ra_prof
ra_project_model Reduce OUT_DIR special casing 2020-06-10 12:08:35 +02:00
ra_syntax Correctly parse <_> paths in patterns 2020-06-09 13:45:18 +02:00
ra_text_edit Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
ra_toolchain
ra_tt
rust-analyzer Reduce OUT_DIR special casing 2020-06-10 12:08:35 +02:00
stdx Use split1 when formatting function signature params 2020-06-03 07:26:15 -04:00
test_utils Use split1 when formatting function signature params 2020-06-03 07:26:15 -04:00