src/vs/workbench/contrib/search/browser/searchActions.ts/getSearchView
export function getSearchView(viewsService: IViewsService): SearchView | undefined {
	return viewsService.getActiveViewWithId(VIEW_ID) as SearchView ?? undefined;
}