# Fix pane::RevealInProjectPanel to focus/open project panel for non-project buffers \(\#51246\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1dc3bb90e96be26cab72e7392c4042e1e5d0d71a

Requested commit: 1dc3bb90e96be26cab72e7392c4042e1e5d0d71a

Commit: 1dc3bb90e96be26cab72e7392c4042e1e5d0d71a

Tree: 9e7d546516d63678d18d260d822601a77d6d39b9

Author: Pratik Karki

Committer: GitHub

## Message

```
Fix pane::RevealInProjectPanel to focus/open project panel for non-project buffers (#51246)

Update how `workspace::pane::Pane` handles the `RevealInProjectPanel`
action so as to display a notification when the user attempts to reveal
an unsaved buffer or a file that does not belong to any of the open
projects.

Closes #23967 

Release Notes:

- Update `pane: reveal in project panel` to display a notification when
the user attempts to use it with an unsaved buffer or a file that is not
part of the open projects

---------

Signed-off-by: Pratik Karki <pratik@prertik.com>
Co-authored-by: dino <dinojoaocosta@gmail.com>
```

## Parents

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

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