# project_panel: Always open panel on pane's reveal in project panel \(\#53539\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/25e02cb0b0e8512dde355a9cf140cedbf1e1e530)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 25e02cb0b0e8512dde355a9cf140cedbf1e1e530

Requested commit: 25e02cb0b0e8512dde355a9cf140cedbf1e1e530

Commit: 25e02cb0b0e8512dde355a9cf140cedbf1e1e530

Tree: 6948c0aebbf8a4fdf28060790752c8bab6e4e897

Author: Dino

Committer: GitHub

## Message

```
project_panel: Always open panel on pane's reveal in project panel (#53539)

Update the way `pane::RevealInProjectPanel` is handled to ensure that,
regardless of whether the file belongs to any open project, the project
panel is always activated and focused.

This refactor is a result of some internal feedback after changing its
handling so as to show a notification stating that the item that the
user was trying to reveal didn't belong to an open project
– https://github.com/zed-industries/zed/pull/51246 .

We feel users are probably already used to relying on `cmd-shift-e` (on
macOS), in pretty much every context, in order to open the project
panel, and so having situations where it doesn't actually happen seems
like a bad user experience.

Relates to #23967 

Release Notes:

- Improved `pane: reveal in project panel` to open the project panel,
even if working with an unsaved buffer.
```

## Parents

- [5f2373b7b11abe9c7962a96123edf6b7db79fded](https://git.cafe/gitcafe/zed/commit/5f2373b7b11abe9c7962a96123edf6b7db79fded?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/25e02cb0b0e8512dde355a9cf140cedbf1e1e530?format=markdown)
