zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.53k stars 2.06k forks source link

Add links to definitions / references in hover popovers to improve discoverability #8854

Open JosephTLyons opened 4 months ago

JosephTLyons commented 4 months ago

Check for existing issues

Describe the feature

This comes from feedback Nathan gathered when speaking to a group of people who use Sublime Text. In Sublime, the popovers that emerge when hovering over a symbol contains links to either the definition or the references, depending on whether you hover over a usage or a definition:

SCR-20240311-lsvp SCR-20240311-lscs

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

No response

maxdeviant commented 3 months ago

@JosephTLyons Could you say more about what this entails?

I'm not sure I understand what the ask is here.

JosephTLyons commented 3 months ago

@JosephTLyons Could you say more about what this entails?

I'm not sure I understand what the ask is here.

Sorry, the issue was quickly made by copying and pasting some info that was posted in our channel notes - I updated the issue.

krisidmisso commented 3 months ago

since this is an older ticket I will post here a similar way this is achieved in JetBrains (which I think its way better and more user friendly/intuitive): https://github.com/zed-industries/zed/issues/9419 image