src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts/CodeCellRenderer/createRunCellToolbar
class CodeCellRenderer:	private createRunCellToolbar(container: HTMLElement, cellContainer: HTMLElement, contextKeyService: IContextKeyService, disposables: DisposableStore): ToolBar {
		const actionViewItemDisposables = disposables.add(new DisposableStore());
		const dropdownAction = disposables.add(new Action('notebook.moreRunActions', localize('notebook.moreRunActionsLabel', "More..."), 'codicon-chevron-down', true));

		const executionContextKeyService = disposables.add(getCodeCellExecutionContextKeyService(contextKeyService));
		const toolbar = disposables.add(new ToolBar(container, this.contextMenuService, {
			getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id, executionContextKeyService),
			actionViewItemProvider: _action => {
				actionViewItemDisposables.clear();

				const menu = actionViewItemDisposables.add(this.menuService.createMenu(this.notebookEditor.creationOptions.menuIds.cellExecuteToolbar, contextKeyService));
				const actions = this.getCellToolbarActions(menu);
				const primary = actions.primary[0];
				if (!(primary instanceof MenuItemAction)) {
					return undefined;
				}

				if (!actions.secondary.length) {
					return undefined;
				}

				if (!this.notebookEditor.notebookOptions.getLayoutConfiguration().consolidatedRunButton) {
					return undefined;
				}

				const item = new DropdownWithPrimaryActionViewItem(
					primary,
					dropdownAction,
					actions.secondary,
					'notebook-cell-run-toolbar',
					this.contextMenuService,
					this.keybindingService,
					this.notificationService);
				actionViewItemDisposables.add(item.onDidChangeDropdownVisibility(visible => {
					cellContainer.classList.toggle('cell-run-toolbar-dropdown-active', visible);
				}));

				return item;
			},
			renderDropdownAsChildElement: true
		}));

		return toolbar;
	}