src/vs/workbench/contrib/preferences/browser/keybindingWidgets.ts/DefineKeybindingWidget/onKeybinding
class DefineKeybindingWidget:	private onKeybinding(keybinding: [ResolvedKeybinding | null, ResolvedKeybinding | null]): void {
		const [firstPart, chordPart] = keybinding;
		this._firstPart = firstPart;
		this._chordPart = chordPart;
		dom.clearNode(this._outputNode);
		dom.clearNode(this._showExistingKeybindingsNode);

		this.keybindingLabelStylers.clear();

		const firstLabel = new KeybindingLabel(this._outputNode, OS);
		firstLabel.set(withNullAsUndefined(this._firstPart));
		this.keybindingLabelStylers.add(attachKeybindingLabelStyler(firstLabel, this.themeService));

		if (this._chordPart) {
			this._outputNode.appendChild(document.createTextNode(nls.localize('defineKeybinding.chordsTo', "chord to")));
			const chordLabel = new KeybindingLabel(this._outputNode, OS);
			chordLabel.set(this._chordPart);
			this.keybindingLabelStylers.add(attachKeybindingLabelStyler(chordLabel, this.themeService));
		}

		const label = this.getUserSettingsLabel();
		if (label) {
			this._onDidChange.fire(label);
		}
	}