ZIm/crates/semantic_index/src
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
..
embedding Fix some semantic index issues (#11216) 2024-04-30 10:55:38 -07:00
chunking.rs More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00
embedding.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
project_index_debug_view.rs More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00
semantic_index.rs More fixes to the semantic index's chunking (#11376) 2024-05-03 19:00:18 -07:00