zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.55k stars 2.06k forks source link

Highlight link target folder/file when hovering over symlink in project panel #12377

Open jansol opened 1 month ago

jansol commented 1 month ago

Check for existing issues

Describe the feature

If a symlink points to a file in the workspace it would be nice if hovering over the symlink also highlighted the link target in the project panel. Or, if the containing directory of the target is collapsed, highlight that directory instead.

If applicable, add mockups / screenshots to help present your vision of the feature

[[]] indicates hovered item, (()) indicates the "target" highlight

.
build/
doc/
+-- sphinx/
|  +-- source/
|  |  +-- ((install.rst))
src/
README.md
[[INSTALL]] -> doc/sphinx/source/install.rst
.
build/
doc/
+-- ((sphinx/))
src/
README.md
[[INSTALL]] -> doc/sphinx/source/install.rst
Moshyfawn commented 1 month ago

Related:

jansol commented 1 month ago

Mm right, highlighting the tab(s) of the target, if any are open would be handy as well.