src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.ts/UserDataProfileExportViewPane/renderTreeView
class UserDataProfileExportViewPane:	protected override renderTreeView(container: HTMLElement): void {
		this.treeView.dataProvider = this.userDataProfileData;
		super.renderTreeView(DOM.append(container, DOM.$('')));
		this.createButtons(container);
		this._register(this.treeView.onDidChangeCheckboxState(items => {
			this.treeView.refresh(this.userDataProfileData.onDidChangeCheckboxState(items));
			this.updateConfirmButtonEnablement();
		}));
		this.userDataProfileData.getRoots().then(async roots => {
			const children = await Promise.all(roots.map(async root => {
				if (root.collapsibleState === TreeItemCollapsibleState.Expanded) {
					const children = await root.getChildren();
					return children ?? [];
				}
				return [];
			}));
			this.totalTreeItemsCount = roots.length + children.flat().length;
			this.updateConfirmButtonEnablement();
			if (this.dimension) {
				this.layoutTreeView(this.dimension.height, this.dimension.width);
			}
		});
	}