rust/crates
Aleksey Kladov 5d2225f4bc Fix symbol search in salsa
Previous solution for binning paths into disjoint directories was
simple and fast -- just a single binary search.

Unfortunatelly, it wasn't coorrect: if the ditr are

  /d
  /d/a
  /d/c

then partitioning the file /d/b/lib.rs won't pick /d as a correct
directory.

The correct solution here is a trie, but it requires exposing path
components.

So, we use a poor man's substitution -- a *vector* of sorted paths,
such that each bucket is prefix-free

closes #5246
2020-07-07 17:38:02 +02:00
..
expect Move test data to test_data directory 2020-07-01 11:26:09 +02:00
flycheck Log flycheck command 2020-07-01 14:49:13 +02:00
paths Be more explicit about absolute paths at various places 2020-06-24 14:39:34 +02:00
ra_arena Shrink arenas after building ItemTree 2020-06-24 16:54:21 +02:00
ra_assists Refactor AssistBuilder to manage a SourceChange 2020-07-07 12:10:18 +02:00
ra_cfg Add optional target to crates in json project, lookup default cfgs per target when generating cfg list 2020-07-04 13:49:44 -04:00
ra_db Upstream salsa 2020-07-07 15:48:55 +02:00
ra_fmt Introduce EffectExpr 2020-05-02 11:21:39 +02:00
ra_hir Merge #5149 2020-07-01 18:41:06 +00:00
ra_hir_def Switch to fully dynamically dispatched salsa 2020-07-07 10:14:48 +02:00
ra_hir_expand Switch to fully dynamically dispatched salsa 2020-07-07 10:14:48 +02:00
ra_hir_ty Merge #5235 #5236 #5241 2020-07-07 09:29:52 +00:00
ra_ide Modernize unqualified reference completion tests 2020-07-07 12:52:09 +02:00
ra_ide_db Merge #5244 2020-07-07 11:00:04 +00:00
ra_mbe Simlify with matches!() 2020-06-28 04:03:59 +03:00
ra_parser Simlify with matches!() 2020-06-28 04:03:59 +03: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 Colorize more test fixtures 2020-07-01 19:05:34 +03:00
ra_prof Simplify profiler impl (bubble up Option and shorten code 2020-04-26 00:55:49 +03:00
ra_project_model AbsPath 2020-07-05 11:15:35 +02:00
ra_ssr SSR: Update tests so that all paths in patterns can be resolved 2020-07-04 08:56:58 +10:00
ra_syntax Clippy perf warnings 2020-07-06 17:13:55 -04:00
ra_text_edit Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
ra_toolchain Better exe probing 2020-06-27 02:04:33 +02:00
ra_tt Simlify with matches!() 2020-06-28 04:03:59 +03:00
rust-analyzer Merge #5244 2020-07-07 11:00:04 +00:00
stdx More principled indentation trimming in fixtures 2020-06-23 23:33:41 +02:00
test_utils Clippy perf warnings 2020-07-06 17:13:55 -04:00
vfs Fix symbol search in salsa 2020-07-07 17:38:02 +02:00
vfs-notify Simplify file watcher 2020-07-06 09:28:17 +02:00