# Improve project panel autoreveal ergonomics \(\#3604\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 706dd8246ed0340a5e1e7d693313013339c56085

Requested commit: 706dd8246ed0340a5e1e7d693313013339c56085

Commit: 706dd8246ed0340a5e1e7d693313013339c56085

Tree: 86827e5fe2a40960f648c5a2aef24f70f301d57e

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Improve project panel autoreveal ergonomics (#3604)

Part of
https://linear.app/zed-industries/issue/Z-1386/add-equivalent-setting-to-vscodes-auto-reveal-exclude
Deals with https://github.com/zed-industries/community/issues/800

* add a `project_panel::auto_reveal_entries` config entry to allow
disabling auto reveal in project panel (auto reveal is enabled by
default)
* add a `pane::RevealInProjectPanel` action (and a pane tab context menu
entry) to manually reveal any file entry
* stop auto revealing gitignored directories at all

We can add the auto reveal exclude globs later, if needed, but let's try
to keep the config simpler and start with a more minimalist approach.

Release Notes:

- Improved project panel auto reveal mechanics: gitignored files are not
auto revealed anymore; a `auto_reveal_entries = true` config option for
`project_panel` is added; a `pane::RevealInProjectPanel` action and a
corresponding buffer tab context menu were added
```

## Parents

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

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

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