-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Incorrect js file reference from import in jsx file #21974
Comments
Are you using yarn? |
No, I use npm for installing libraries |
This comment has been minimized.
This comment has been minimized.
@notpeter reproducible this way:
Steps to reproduce:
When viewing Looking in to hover_links.rs > find_file implementation, we probably need to add multiple steps to choose when there are similar files:
|
Perfect. I can reproduce with those steps @beniaminzagan. zed documentation-page foreclosures foreclosures/src/index.jsx Hovering |
Description
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
foreclosures/src/index.jsx
import cache from "./cache.js";
foreclosures/src/cache.js
.documentation-page/src/cache.js
.Kapture.2024-12-13.at.23.51.01.mp4
The text was updated successfully, but these errors were encountered: