Files
Piotr Osiewicz e28681c27e outline: Match on full item path in Outline::find_most_similar (#16206)
Previously, we were only looking at a simple syntax node name at a time
and not the full path to an item. E.g. in a rust-toolchain.toml file:
```rs
[toolchain]
targets = [ "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-linux-gnu", "wasm32-wasi" ]
```
When matching against a query "toolchain targets" from the Assistant,
we'd try to match it against "toolchain" and "targets" and not against
"toolchain targets" - we only look at the name of the innermost node and
not it's full path.
I'd expect it to significantly improve precision of outline item
matching.

Release Notes:

- N/A

Co-authored-by: Bennet Bo <bennet@zed.dev>
2024-08-14 14:03:28 +02:00
..
2024-05-29 18:06:45 -07:00
2024-07-23 15:01:05 -07:00
2024-08-13 23:06:07 -07:00
2024-08-13 23:06:07 -07:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-07-23 15:01:05 -07:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-07-25 09:00:53 -06:00
2024-08-13 23:06:07 -07:00
2024-06-21 16:32:32 -07:00
2024-08-09 13:37:54 -04:00
2024-07-26 03:31:41 -04:00
2024-08-09 13:37:54 -04:00
2024-04-15 14:21:52 +02:00
2024-08-13 23:06:07 -07:00