Skip to content

Search @ cannot search from directories excluded by .gitignore #2952

@LucasChenZQ

Description

@LucasChenZQ

What version of Codex is running?

0.25.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

In VS Code IDE plugin, when typing @ to search a file, only files tracked by git can be searched.

The problem is, in many situations I need to wrote scripts, temp function or handling some sample data. Those related files are not supposed to be tracked by git. I usually put them in a git ignored directory, such as playground/, .local/, temp/ .

If it's about security & privacy issue, would it be designed to read git ignored files only when it's commanded?

What is the expected behavior?

Allow @ files even it's not tracked by git.

What do you see instead?

@ action cannot search git ignored files

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions