We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
disregardIgnoreFiles
1 parent 3d7aab3 commit 9e67a1dCopy full SHA for 9e67a1d
src/vs/workbench/contrib/files/browser/views/explorerViewer.ts
@@ -604,7 +604,10 @@ export class ExplorerFindProvider implements IAsyncFindProvider<ExplorerItem> {
604
605
const searchExcludePattern = getExcludes(this.configurationService.getValue<ISearchConfiguration>({ resource: root.resource })) || {};
606
const searchOptions: IFileQuery = {
607
- folderQueries: [{ folder: root.resource }],
+ folderQueries: [{
608
+ folder: root.resource,
609
+ disregardIgnoreFiles: !this.configurationService.getValue<boolean>('explorer.excludeGitIgnore'),
610
+ }],
611
type: QueryType.File,
612
shouldGlobMatchFilePattern: true,
613
cacheKey: `explorerfindprovider:${root.name}:${rootIndex}:${this.sessionId}`,
0 commit comments