# Properly handle ignored files in the file finder \(\#31542\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 94c006236eb3ce8d356d9d21c19ef42a8fd27c5a

Requested commit: 94c006236eb3ce8d356d9d21c19ef42a8fd27c5a

Commit: 94c006236eb3ce8d356d9d21c19ef42a8fd27c5a

Tree: fc2962ae544a445d522c5546ce711758bae7a29f

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly handle ignored files in the file finder (#31542)

Follow-up of https://github.com/zed-industries/zed/pull/31457

Add a button and also allows to use `search::ToggleIncludeIgnored`
action in the file finder to toggle whether to show gitignored files or
not.
By default, returns back to the gitignored treatment before the PR
above.


![image](https://github.com/user-attachments/assets/c3117488-9c51-4b34-b630-42098fe14b4d)


Release Notes:

- Improved file finder to include indexed gitignored files in its search
results
```

## Parents

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

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