diff --git a/src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts b/src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts index 2926ddad4ad..10d91c1446c 100644 --- a/src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts +++ b/src/vs/workbench/contrib/search/browser/anythingQuickAccess.ts @@ -446,7 +446,8 @@ export class AnythingQuickAccessProvider extends PickerQuickAccessProvider = []; for (const editor of this.historyService.getHistory()) { const resource = editor.resource; - if (!resource || (!this.fileService.canHandleResource(resource) && resource.scheme !== Schemas.untitled)) { + // allow untitled and terminal editors to go through + if (!resource || (!this.fileService.canHandleResource(resource) && resource.scheme !== Schemas.untitled && resource.scheme !== Schemas.vscodeTerminal)) { continue; // exclude editors without file resource if we are searching by pattern }