src/vs/workbench/contrib/preferences/browser/settingsWidgets.ts/ObjectSettingWidget/renderEnumEditWidget
class ObjectSettingWidget:	private renderEnumEditWidget(
		keyOrValue: IObjectEnumData,
		{ isKey, originalItem, update }: IObjectRenderEditWidgetOptions,
	) {
		const selectBox = this.createBasicSelectBox(keyOrValue);

		const originalKeyOrValue = isKey ? originalItem.key : originalItem.value;
		this.listDisposables.add(
			selectBox.onDidSelect(({ selected }) =>
				update(
					originalKeyOrValue.type === 'boolean'
						? { ...originalKeyOrValue, data: selected === 'true' ? true : false }
						: { ...originalKeyOrValue, data: selected },
				)
			)
		);

		const wrapper = $('.setting-list-object-input');
		wrapper.classList.add(
			isKey ? 'setting-list-object-input-key' : 'setting-list-object-input-value',
		);

		selectBox.render(wrapper);

		return { widget: selectBox, element: wrapper };
	}