Use `disregardIgnoreFiles` in file search queries (#235501)
Use `disregardIgnoreFiles` from file searchpull/235508/head
parent
9609819024
commit
f7069b2fea
|
@ -604,7 +604,10 @@ export class ExplorerFindProvider implements IAsyncFindProvider<ExplorerItem> {
|
|||
|
||||
const searchExcludePattern = getExcludes(this.configurationService.getValue<ISearchConfiguration>({ resource: root.resource })) || {};
|
||||
const searchOptions: IFileQuery = {
|
||||
folderQueries: [{ folder: root.resource }],
|
||||
folderQueries: [{
|
||||
folder: root.resource,
|
||||
disregardIgnoreFiles: !this.configurationService.getValue<boolean>('explorer.excludeGitIgnore'),
|
||||
}],
|
||||
type: QueryType.File,
|
||||
shouldGlobMatchFilePattern: true,
|
||||
cacheKey: `explorerfindprovider:${root.name}:${rootIndex}:${this.sessionId}`,
|
||||
|
|
Loading…
Reference in New Issue