Omit gitignored files from context file picker (#23777)

In both `thread` and `prompt editor` the context file picker, gitignored
files are hidden (as expected) when searching files by path, but they
are still shown initially as you create the file picker.

Plus, selecting gitignored files in the `prompt editor` is bugged and
collapses everything.

This PR settles on not showing gitignored files to solve these
inconsistencies.

Release Notes:

- Fix gitignored files filter occasionally not working in context file
picker.
This commit is contained in:
João Marcos
2025-01-28 11:40:42 -03:00
committed by GitHub
parent a5957bfaeb
commit 2b160f4f3c
5 changed files with 33 additions and 5 deletions
Generated
+1
View File
@@ -637,6 +637,7 @@ dependencies = [
"ui",
"util",
"workspace",
"worktree",
]
[[package]]