![]() 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> |
||
---|---|---|
.. | ||
syntax_map | ||
buffer.rs | ||
buffer_tests.rs | ||
diagnostic_set.rs | ||
highlight_map.rs | ||
language.rs | ||
language_registry.rs | ||
language_settings.rs | ||
markdown.rs | ||
outline.rs | ||
proto.rs | ||
syntax_map.rs | ||
task_context.rs |