File picker ignores respectGitIgnore setting for gitignored directories
Resolved 💬 3 comments Opened Feb 15, 2026 by umairmustafa1 Closed Feb 15, 2026
Description
The file picker / autocomplete UI does not suggest files inside gitignored directories (e.g. data/) even when respectGitIgnore is set to false via /config.
Steps to Reproduce
- Have a project with a gitignored directory (e.g.
/data/in.gitignore) - Set
respectGitIgnoretofalsevia the/configcommand - Try to use the file picker autocomplete to navigate into the gitignored directory
Expected Behavior
The file picker should suggest files inside data/ since respectGitIgnore is explicitly set to false.
Actual Behavior
The file picker does not show any suggestions for files inside the gitignored directory. The setting appears to only affect tools (Glob, Grep, Read) but not the interactive file picker/autocomplete in the terminal UI.
Workaround
Manually typing/pasting the full file path works — tools like Read can access the files fine. The limitation is only in the autocomplete suggestions.
Environment
- OS: Windows 11 Pro
- Shell: bash
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗