zed icon indicating copy to clipboard operation
zed copied to clipboard

Show breadcrumbs in excerpts list

Open LeonKowarschickKenbun opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

In the excerpts list (i.e. LSP references, search results, diagnostics, etc) it'd be really cool if zed could show breadcrumbs of each match.

For example, when I'm looking for references of a type, it'd be neat if I could see the module, class and function the excerpt is from, rather than just the file. I'd think that this info could neatly be included at the top of each excerpt in a small fontsize, such as to not be too overwhelming UI wise.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

LeonKowarschickKenbun avatar Apr 11 '24 16:04 LeonKowarschickKenbun

We currently do display the breadcrumbs at the top of the multi-buffer and it is aware of the excerpts, as it changes based on which excerpt you have your cursor in. I'm guessing your suggestion to include it for each excerpt is mostly about the convenience of not having to park your cursor in every excerpt to see the location in the breadcrumb?

JosephTLyons avatar Apr 11 '24 20:04 JosephTLyons

Yea, exactly -- it'd be a bit more convenient to get a quick overview like that

LeonKowarschickKenbun avatar Apr 12 '24 07:04 LeonKowarschickKenbun

l disabled breadcrumbs in config, but it still displayed at the top of the multi-buffer

not-a-fan avatar May 18 '24 03:05 not-a-fan