Skip to content

Find in Files "files to include" override .gitignore #26574

@borekb

Description

@borekb

VSCode 1.12: I have a TypeScript project with a src folder and a .gitignore file containing this:

/src/**/*.js

If I search for something, it is OK with 'files to include' is empty:

image

but it is not OK if I scope the search:

image

While I'm searching only in some sup-tree of my project, all .gitignore rules should still be taken into account.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitysearchSearch widget and operation issuesupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions