src/vs/workbench/contrib/search/browser/searchActions.ts/ReplaceAction/hasToOpenFile
class ReplaceAction:	private hasToOpenFile(): boolean {
		const activeEditor = this.editorService.activeEditor;
		const file = activeEditor?.resource;
		if (file) {
			return this.uriIdentityService.extUri.isEqual(file, this.element.parent().resource);
		}
		return false;
	}