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