diff --git a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts index 9f15f33a26bdc..4de8cc1c24455 100644 --- a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts +++ b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts @@ -604,7 +604,10 @@ export class ExplorerFindProvider implements IAsyncFindProvider { const searchExcludePattern = getExcludes(this.configurationService.getValue({ resource: root.resource })) || {}; const searchOptions: IFileQuery = { - folderQueries: [{ folder: root.resource }], + folderQueries: [{ + folder: root.resource, + disregardIgnoreFiles: !this.configurationService.getValue('explorer.excludeGitIgnore'), + }], type: QueryType.File, shouldGlobMatchFilePattern: true, cacheKey: `explorerfindprovider:${root.name}:${rootIndex}:${this.sessionId}`,