src/vs/workbench/browser/parts/editor/tabsTitleControl.ts/TabsTitleControl/computeTabLabels
class TabsTitleControl:	private computeTabLabels(): void {
		const { labelFormat } = this.accessor.partOptions;
		const { verbosity, shortenDuplicates } = this.getLabelConfigFlags(labelFormat);

		// Build labels and descriptions for each editor
		const labels: EditorInputLabelAndEditor[] = this.group.editors.map((editor, index) => ({
			editor,
			name: editor.getName(),
			description: editor.getDescription(verbosity),
			forceDescription: editor.hasCapability(EditorInputCapabilities.ForceDescription),
			title: editor.getTitle(Verbosity.LONG),
			ariaLabel: computeEditorAriaLabel(editor, index, this.group, this.editorGroupService.count)
		}));

		// Shorten labels as needed
		if (shortenDuplicates) {
			this.shortenTabLabels(labels);
		}

		this.tabLabels = labels;
	}