Piotr Osiewicz and Bennet Bo
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-08-12 11:59:24 -04:00
2024-08-06 19:30:48 -06:00
2024-08-14 12:13:09 +02:00
2024-08-13 23:06:07 -07:00
2024-07-29 14:21:29 -04:00
2024-07-30 16:39:33 +03:00
2024-08-12 17:43:35 +02:00
2024-08-12 21:47:05 -04:00
2024-08-13 13:18:25 -04:00
2024-08-12 13:01:32 -04:00
2024-08-13 13:18:25 -04:00
2024-08-08 15:46:33 +02:00
2024-08-13 23:06:07 -07:00
2024-08-13 23:06:07 -07:00
2024-08-13 16:50:57 -04:00
2024-07-30 11:12:37 +02:00
2024-07-31 17:43:08 +02:00
2024-08-13 13:18:25 -04:00
2024-08-13 23:06:07 -07:00
2024-07-29 14:21:41 +02:00
2024-08-13 23:06:07 -07:00
2024-08-06 11:49:04 -04:00
2024-08-13 13:18:25 -04:00
2024-08-05 20:26:21 -04:00
2024-08-13 16:01:58 -04:00
2024-08-06 08:55:27 -04:00
2024-08-14 14:03:28 +02:00
2024-08-13 17:31:46 -03:00
2024-07-30 09:32:58 +02:00
2024-08-13 14:44:48 -04:00
2024-08-13 13:18:25 -04:00
2024-08-13 13:18:25 -04:00
2024-08-08 11:53:37 +02:00
2024-08-13 17:19:10 -06:00
2024-07-27 10:24:05 -04:00
2024-08-13 01:43:19 +02:00
2024-08-06 15:45:47 +02:00
2024-08-06 11:49:04 -04:00
2024-08-13 13:18:25 -04:00
2024-08-13 13:18:25 -04:00
2024-08-13 23:06:07 -07:00
2024-08-13 13:18:25 -04:00
2024-08-14 11:18:40 +02:00
2024-08-12 17:05:54 +02:00
2024-08-08 15:58:59 +02:00
2024-07-28 22:45:00 -06:00
2024-08-13 13:18:25 -04:00
2024-08-02 19:51:26 +02:00
2024-08-08 15:46:33 -07:00
2024-08-06 15:51:53 -04:00
2024-07-30 16:18:53 +02:00
2024-07-29 17:05:56 +02:00
2024-08-13 01:43:19 +02:00
2024-07-27 14:00:03 -04:00
2024-08-09 12:32:26 +02:00
2024-08-09 13:37:54 -04:00
2024-07-28 10:52:39 +02:00
2024-07-31 08:48:19 -07:00
2024-07-28 22:45:00 -06:00
2024-08-13 13:18:25 -04:00
2024-08-13 13:18:25 -04:00
2024-08-05 09:18:06 +02:00
2024-08-09 13:37:54 -04:00
2024-07-30 17:38:16 -04:00
2024-08-13 17:31:23 -03:00
2024-08-13 23:06:07 -07:00
2024-08-13 13:18:25 -04:00
2024-08-13 13:18:25 -04:00
2024-08-01 16:09:53 +02:00
2024-08-13 16:56:44 +03:00
2024-07-30 17:38:16 -04:00