-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Cmd+click on a file with a line from iTerm2 should open to that line #22990
Comments
We do have such functionality overall, here's a recent addition to that, for example: #22559 So, can you provide more details: which kind of link that is, where it's open, etc. |
regular.project.movJust to note, it works just fine in regular Zed project: clicks do open the file at the correct location. So, without extra details it's not quite clear what's broken. |
this is because the path is |
Great point about the trailing
is wrong, unless I'm doing something odd: I've created a dummy file with the exact same path and pasted odd.mov |
sorry, it's my previous operator error. i cannot reproduce that |
When using the integrated terminal this works as expected, but not when clicking on links inside a standalone iTerm2 application (i think this might be what the issue is about). Screen.Recording.2025-01-13.at.11.27.22.movNot sure why this is not working for zed, need to investigate this more. In the meantime you can follow this workaround posted here, which makes zed work as expected. |
Great point that it's iTerm2 external click -> Zed opening, I've totally missed that. Then, it's handled by the OS which expects an application (which That is handled in zed/crates/gpui/src/platform/mac/platform.rs Lines 1359 to 1373 in 1467d8b
If I add log::error!("$$$?: absoluteString: {string:?}"); change inside
in my logs when clicking Not sure what to try after that: but all my attempts to read other data from this URL ended up with nothing that resembles the suffix: Interesting to note, that VSCode as a default app for *.rs opening, manages to handle this right. |
Check for existing issues
Describe the feature
It currently opens the file but not to the line.
Zed Version and System Specs
Zed: v0.168.2 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: