Reproduction steps
- Open a gitignored file and select a word in it (for instance by double clicking a word)
- Open "Find in Project" (Cmd-Shift-F or Edit > ) and start search
- Results will not include matches in the gitignored file
The related setting "Search & Files > Include Ignored in Search" does not seem to have any effect. Matches not found regardless of how this setting is configured.
Current vs. Expected behavior
It would be great to be able to include gitignored files in "Find in Project", however, some languages create local dirs (like Rust /target), which usually should be excluded.
I often work with excluded files (e.g. containing sensitive data or temporary files) that I would like to have included in "Find in Project".
Maybe an optional separate "do not ignore file" could be used for "Find in Project"?
Zed version and system specs
Zed: v0.218.7+stable.118.41bab92dac34777ae4256e5041f7b7236fd16cdd (Zed)
OS: macOS 26.2
Memory: 128 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Nothing relevant in logs
Relevant Zed settings
settings.json
{
"file_finder": {
"include_ignored": "all"
},
...
}
Relevant Keymap
keymap.json
...
"cmd-shift-f": "pane::DeploySearch",
...
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Reproduction steps
The related setting "Search & Files > Include Ignored in Search" does not seem to have any effect. Matches not found regardless of how this setting is configured.
Current vs. Expected behavior
It would be great to be able to include gitignored files in "Find in Project", however, some languages create local dirs (like Rust
/target), which usually should be excluded.I often work with excluded files (e.g. containing sensitive data or temporary files) that I would like to have included in "Find in Project".
Maybe an optional separate "do not ignore file" could be used for "Find in Project"?
Zed version and system specs
Zed: v0.218.7+stable.118.41bab92dac34777ae4256e5041f7b7236fd16cdd (Zed)
OS: macOS 26.2
Memory: 128 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Nothing relevant in logs
Relevant Zed settings
settings.json
{ "file_finder": { "include_ignored": "all" }, ... }Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None