zed/crates/semantic_index
Max Brunsfeld 6964302d89
More fixes to the semantic index's chunking (#11376)
This fixes a tricky intermittent issue I was seeing, where failed to
chunk certain files correctly because of the way we reuse Tree-sitter
`Parser` instances across parses.

I've also accounted for leading comments in chunk boundaries, so that
items are grouped with their leading comments whenever possible when
chunking.

Finally, we've changed the `debug project index` action so that it opens
a simple debug view in a pane, instead of printing paths to the console.
This lets you click into a path and see how it was chunked.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
2024-05-03 19:00:18 -07:00
..
examples Return an error from project index tool when embedding query fails (#11264) 2024-05-01 12:15:44 -07:00
fixture Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
src More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00
Cargo.toml More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00
LICENSE-GPL Semantic Index (#10329) 2024-04-12 11:40:59 -06:00