src/vs/workbench/contrib/preferences/browser/settingsTreeModels.ts/SettingsTreeModel/getDepth
class SettingsTreeModel:	private getDepth(element: SettingsTreeElement): number {
		if (element.parent) {
			return 1 + this.getDepth(element.parent);
		} else {
			return 0;
		}
	}