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.31k stars 2.04k forks source link

Go to File ... (CMD + P) does not recognize symlinks #12712

Open nramenta opened 3 weeks ago

nramenta commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I'm aware of issue #445 and it was marked as completed. However, I still cannot go to a symlinked file using CMD + P.

image

Environment

Zed: v0.138.4 (Zed) OS: macOS 13.5.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.

No response

notpeter commented 5 days ago

@nramenta I am able to duplicate this issue, but only when the symlink points outside of the workspace. Does this match your situation?

On the other hand symlinks within the repo work fine for me. For example searching LICENSE-GPL in the zed repo correctly yields the dozens of symlinks to that file.

image
okrad commented 3 hours ago

@notpeter, I'm having this issue too, and I can confirm you that the symlink points outside of the workspace.

Thank you for looking into it!