src/vs/workbench/contrib/files/browser/explorerService.ts/ExplorerService/getContext
class ExplorerService:	getContext(respectMultiSelection: boolean, includeNestedChildren = false): ExplorerItem[] {
		if (!this.view) {
			return [];
		}

		const items = new Set<ExplorerItem>(this.view.getContext(respectMultiSelection));
		if (includeNestedChildren) {
			items.forEach(item => {
				if (item.nestedChildren) {
					for (const child of item.nestedChildren) {
						items.add(child);
					}
				}
			});
		}

		return [...items];
	}