Files
oak-gpui/crates
Kirill Bulatov d3c68650c0 Improve cmd-click in terminal to find more paths (#26174)
Closes https://github.com/zed-industries/zed/issues/25701

Reworks the way cmd-click is handled:

* first, all worktree entries are checked for existence

This allows more fine-grained lookup of entries that are in the
worktree, but their path in the terminal is not "full": in case neither
`cwd` no worktree's root + that temrinal paths form a valid path
(https://github.com/zed-industries/zed/issues/25701)

The worktrees are sorted by "the most close to cwd first" so such files
are attempted to resolved in the most specific worktree.

This also fixes no cmd-click working in the remote ssh.

* second, only if the client is local, do the FS checks to find
non-indexed files

Release Notes:

- Improved cmd-click in terminal to find more paths
2025-03-06 00:41:13 +00:00
..
2025-02-28 18:33:35 +01:00
2025-03-05 15:56:51 -08:00
2025-02-28 18:33:35 +01:00
2025-01-27 13:40:59 -05:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-03-05 15:56:51 -08:00
2025-03-05 15:56:51 -08:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 20:00:39 +00:00
2025-03-05 15:56:51 -08:00
2025-03-05 15:56:51 -08:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-03-05 00:50:26 +00:00
2025-03-04 17:59:19 -05:00