mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 21:00:35 +00:00
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> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE-GPL |