Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong file reference #21974

Open
1 task done
franciscop opened this issue Dec 13, 2024 · 1 comment
Open
1 task done

Wrong file reference #21974

franciscop opened this issue Dec 13, 2024 · 1 comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@franciscop
Copy link

franciscop commented Dec 13, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When attempting to cmd+click on an import of a file with a name, if another project has a file with the same name Zed might open than instead of the file being referenced. I do want to note I have multiple projects open in the same Zed window.

Environment

Zed: v0.165.4 (Zed)
OS: macOS 15.1.1
Memory: 16 GiB
Architecture: aarch64

If applicable, add screenshots or screencasts of the incorrect state / behavior

  1. I am in the file foreclosures/src/index.jsx
  2. I hover my mouse on the import of import cache from "./cache.js";
  3. I can see the correct file being referenced, which is foreclosures/src/cache.js.
  4. However when I cmd+click on it, it opens documentation-page/src/cache.js.
Kapture.2024-12-13.at.23.51.01.mp4

If applicable, attach your Zed.log file to this issue.

Zed.log

@franciscop franciscop added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 13, 2024
@osiewicz
Copy link
Contributor

Are you using yarn?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

2 participants