zed
zed copied to clipboard
Terminal support cmd+click abs-file(dir)
Check for existing issues
- [X] Completed
Describe the feature
yep
If applicable, add mockups / screenshots to help present your vision of the feature
No response
Hey @d1y. Cmd-click works for me as long as the path is relative to the project root directory.
Is this a request to make it support paths relative to the terminals current working directory?
One issue with cmd-click is the fact that it only displays on a focused terminal, so an extra click is needed to make it happen.
https://github.com/zed-industries/zed/issues/6746
Interesting edge case for me, line 1 (app/views/views/show.tsx:1471:in) is not CMD-clickable, but the other lines with relative file paths are:
22:28:17 web.1 | app/views/views/show.tsx:1471:in `<unknown>'
22:28:50 ssr.1 | change views/show.tsx
22:28:51 ssr.1 | [395.98ms] build client
22:28:55 ssr.1 | change views/show.tsx
22:28:55 ssr.1 | ✘ [ERROR] Expected identifier but found ")"
22:28:55 ssr.1 |
22:28:55 ssr.1 | app/views/views/show.tsx:1471:71:
22:28:55 ssr.1 | 1471 │ ...nu.Item>{getPathDisplayName(fields, path.)}</DropdownMenu.Item>;
22:28:55 ssr.1 | ╵ ^