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
48.57k stars 2.9k forks source link

Go to definition sometimes opens a new tab "Definitions for X" with a single snippet instead of actually going to the definition #6730

Open evelant opened 8 months ago

evelant commented 8 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Per the title, when cmd+click or gd to jump to a definition sometimes, but not all the time, zed opens a new tab titled "Definitions for whateverSymbolName". The new tab looks like a search but only contains the single result of the definition. This is annoying and hampers code navigation.

Environment

Zed: v0.119.19 (Zed) OS: macOS 14.2.1 Memory: 16 GiB Architecture: aarch64

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

I did not see any relevant entries in the log

SephReed commented 1 month ago

Very much agree. I see what the devs are going for here, but the user flow is still very unintuitive.