# file_finder: Add include_ignored parameter to Toggle action \(\#59568\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 93b846b2a65715977841dd1fffcb3dce40588c66

Requested commit: 93b846b2a65715977841dd1fffcb3dce40588c66

Commit: 93b846b2a65715977841dd1fffcb3dce40588c66

Tree: c3e14127062138bdbbd6795af7964af5caa55d53

Author: Daniel Strobusch

Committer: GitHub

## Message

````
file_finder: Add include_ignored parameter to Toggle action (#59568)

# Objective

Allow keybindings to open the file finder with ignored files
pre-included, regardless of the global `file_finder.include_ignored`
setting:

```json
  {
    "bindings": {
      "ctrl-shift-o": ["file_finder::Toggle", { "include_ignored": true }]
    }
  }
```

Closes https://github.com/zed-industries/zed/discussions/42575

## Solution

- Describe the solution used to achieve the objective above.

## Testing

- Did you test these changes? If so, how?
   manually locally and a unit test.
- Are there any parts that need more testing?
  no
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
   no
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
  macOS

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

## Showcase

> This section is optional. If this PR does not include a visual change
or does not add a new user-facing feature, you can delete this section.

- Help others understand the result of this PR by showcasing your
awesome work!
- If this PR includes a visual change, consider adding a screenshot,
GIF, or video
- A before/after comparison is very useful for changes to existing
features!

While a showcase should aim to be brief and digestible, you can use a
toggleable section to save space on longer showcases:

<details>
  <summary>Click to view showcase</summary>

My super cool demos here

</details>

---

Release Notes:

- Added `include_ignored` parameter to `file_finder::Toggle` action,
allowing keybindings to open the file finder with ignored files
pre-included.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
````

## Parents

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

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