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
42.61k stars 2.27k forks source link

Project panel focus should update for image files also #13141

Open ottob opened 1 month ago

ottob commented 1 month ago

Check for existing issues

Describe the feature

When I switch between source code files, the project panel focus is changed as expected.

But if I open an image file (png for example), it does not become focused in the project panel. There is also no Reveal In Project Panel option if I right click the tab.

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

No response

notpeter commented 1 month ago

Got it. I can duplicate:

  1. Toggling open file files (via clicking, ctrl+tab or cmd+shift+}) does not highlight image files in the project panel like it normally does for other files.
  2. "Reveal in project panel" (and Open in Terminal) are missing from the right click context menu. image