SIGN IN SIGN UP

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>
M
Max Brunsfeld committed
6964302d89084b76eb1b1436f634d3cbcbcfd3de
Parent: 335c307
Committed by GitHub <noreply@github.com> on 5/4/2024, 2:00:18 AM