src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts/NotebookEditorWidget/_restoreSelectedKernel
class NotebookEditorWidget:	private _restoreSelectedKernel(viewState: INotebookEditorViewState | undefined): void {
		if (viewState?.selectedKernelId && this.textModel) {
			const kernel = this.notebookKernelService.getMatchingKernel(this.textModel).all.find(k => k.id === viewState.selectedKernelId);
			if (kernel) {
				this.notebookKernelService.selectKernelForNotebook(kernel, this.textModel);
			}
		}
	}